The U.S. government moved on Sept. 9 to halt a controversial oil pipeline project in North Dakota that has angered Native Americans, blocking construction on federal land and asking the company behind the project to suspend work nearby.

The move came after U.S. District Judge James Boasberg in Washington rejected a request from Native Americans for a court order to block the project.

Boasberg said he could not concur with claims by the Standing Rock Sioux tribe that the government erred in approving the Dakota Access Pipeline.

Protesters decried the ruling and vowed to appeal. Native Americans say the pipeline would pollute nearby rivers and desecrate their sacred land.

Dakota Access and its parent company, Energy Transfer Partners LP of Dallas, declined to comment.

Opposition to the pipeline has drawn support from 200 Native American tribes, along with celebrities and activists from across the globe. On Sept. 3, protests at the site turned violent.

The $3.7 billion, 1,100-mile (1,770 kilometer) Dakota Access Pipeline would be the first to allow movement of crude oil from the Bakken Shale, a vast oil formation in North Dakota, Montana and parts of Canada.

It would carry oil from just north of land owned by the Standing Rock Sioux Tribe to Illinois, where it would connect with an existing pipeline and route crude directly to refineries in the U.S. Gulf Coast.