The federal government has agreed to extend a pause on border construction in Big Bend National Park until mid-September, following a court hearing in San Antonio on Friday. The decision, which delays work in the remote Texas park and an adjacent stretch of land upriver and west, was welcomed by environmental groups, Native American tribes, and local officials who have challenged the contentious project. Customs and Border Protection had already suspended activity after Commissioner Rodney Scott visited the park last week to consult with local leaders. The earlier pause, set to expire on Monday, came after bulldozers began clearing land in the park, sparking widespread outrage. The Department of Homeland Security had said the work was initial design and survey work, not full construction. The government’s plans include building a new road, installing detection technology, and erecting barriers to stop vehicles from crossing the border. However, an attorney for the government emphasized Friday that no final plans have been decided. U.S. District Judge Orlando L. Garcia expressed hope that the two sides would use the extra time to address each other’s concerns. The pause applies to both the national park and a section of land upriver and west of the park, a Justice Department lawyer said during the hearing. The work at Big Bend is part of a $46 billion plan by the Trump administration to cover the entire 2,000-mile border with a combination of 30-foot tall steel bollard walls, vehicle barriers, and detection technology aimed at stopping illegal immigration and smugglers. As construction has ramped up, the administration has faced increasing opposition from landowners, environmental groups, and Native Americans. The government argued Friday that Customs and Border Protection’s authority to build the wall or other infrastructure comes from Congress. “Congress gave them the authority,” said government lawyer Pamela Amaechi. “Congress has spoken.” The lawsuit alleges the government overstepped its authority by building in a national park established by Congress and that the construction violates the religious freedoms and cultural practices of Native Americans who rely on access to burial sites and ceremonial areas. The government has countered that it has the authority from Congress to build border security infrastructure and waive certain regulations to act swiftly. They also argue that the plaintiffs have not shown that the construction will restrict religious practices and that the plans are limited. Texas State Senator Roland Gutierrez, who argued against the government, called the outcome a temporary win. “Anything that slows the government down until the midterm elections in November is a good thing,” Gutierrez said, hoping that a change in control of Congress might lead to a rethinking of the border wall plans.