After dramatically issuing a cease-and-desist order on a crowdfunded border wall project earlier this week, the mayor of Sunland Park, N.M., said the nearly completed project would be allowed to move forward.

At a news conference Thursday, Mayor Javier Perea said that two permits had been prematurely issued to a group known as We Build the Wall, which was born from a GoFundMe campaign aimed at raising money for a wall along the U.S-Mexico border. The group was being allowed to proceed with the caveat that it comply with city and state regulations going forward, and rectify any issues in its paperwork.

We Build the Wall organizers maintain that they had filled out the appropriate permit applications and received a verbal green light from a city official late last week to start building their border fence, which they then constructed over the Memorial Day weekend. Perea contends that they had not received the official building permit from the city that would have allowed them to begin work, and that there were outstanding issues with their documents.

In an interview with The Washington Post, Perea conceded that it was essentially too late to stop construction on the fence, because so much of it had already been built by the time the city caught up to what was happening.

“I do believe that a lot of this work was done with the intention of, ‘Get it built and then we’ll deal with it after the fact,’ ” Perea said of the project’s haste. “For a small community like ours that does not have large teams of people who can look at these issues, it’s difficult and it’s straining on the city to do a quick turnaround on a project like this.”

After stopping the construction Tuesday, the city received a deluge of calls and emails from supporters of We Build the Wall after the organization asked the public to voice support for the project. Perea said that his family and his staff members had received death threats and hateful messages.

The Thursday permits that prompted We Build the Wall to resume work, he said, were prematurely issued by a lower-level staff member. Now the city is asking the builders to comply with city and state regulations going forward.

“I guess there was scrambling on the city’s part,” he said. “But it does serve as a learning opportunity for the city to respond to these situations, not just to this development but any development inside the city.”

After the organization was allowed to proceed, We Build the Wall’s founder, Brian Kolfage, declared victory on Twitter and tweeted an image of one of the permits. The organization held a ribbon-cutting ceremony and media availability near a newly constructed wall segment Thursday.

“We were positive that we were in compliance from the get-go,” Kolfage told The Post on Friday. He said his organization had worked with lawyers to ensure the work met regulations. He blamed miscommunication within the city government for the confusion over their permits.

“I think this shows the lack of competency of the city themselves that they’re having these issues,” he said.

We Build the Wall had contracted Fisher Industries to complete the construction, Kolfage said. The Post reported that in recent months President Trump has urged the U.S. Army Corps of Engineers to give a border wall contract to the company, whose executive is a prominent Republican donor and frequent guest on Fox News.

Kolfage said city officials had led them to believe they had a green light after a site inspection last week. The city provided The Post with the project’s application packet to the Community and Economic Development Department.

Kolfage said the half-mile segment of wall was about 90 percent complete, and he expected work to be finished this weekend. In addition to a border fence, he said the project was also installing lights, fiber-optic sensors, a road and security cameras. He estimated the project would cost between $6 million and $8 million.

The group is staking out 10 more sites where it is seeking to fill gaps in the existing border barriers, but it did not say where. “It’s not our job to build an entire border wall; that’s the government’s,” Kolfage said.

We Build The Wall raised $23 million with the intention of helping President Trump accomplish a signature campaign issue: to “build the wall” along the border between the United States and Mexico. Its leadership team includes supporters of the president, including former White House adviser Stephen K. Bannon, former Kansas secretary of state Kris Kobach, and Erik Prince, the founder of the security firm Blackwater USA, now known as Academi.

The New Mexico project sparked criticism from Democrats who oppose the president’s immigration policies. Rep. Veronica Escobar (D-Tex.) said in a statement to the Silver City Sun News that she found it “deeply disturbing when outsiders, like Kris Kobach and Steve Bannon, come in and use our community and people as a backdrop to further their racist agenda.”

“It’s even more disturbing that a business in our community is furthering this xenophobic narrative,” Escobar continued. “While this wall may be necessary fuel for the president’s political campaign, it will not prevent people from seeking asylum.”

But for Perea, the border fence saga was a symptom of a larger problem facing Sunland Park, which has become a flash point of the debate over sovereignty and security.

“The issue of immigration has been a concern for many years, it is frustrating that people are using the city to move their political agendas,” he told The Post. “The biggest frustration for us is that Congress and the president can’t come to a compromise and come up with legislation that addresses the issue. Until that happens, were going to continue seeing the problem we’re seeing.”

Read more: