A federal court late Thursday dismissed a lawsuit in which the company behind the Dakota Access Pipeline accused environmentalists of improperly trying to block the line’s construction.

The District Court for the District of North Dakota ruled that Energy Transfer Partners hadn’t sufficiently proven its claims that the actions of Greenpeace and individual activists constituted violations of the Racketeer Influenced and Corrupt Organizations (RICO) Act.

The company filed the lawsuit in 2017, after months of high-profile protests by indigenous rights and environmental activists trying to block the oil pipeline’s construction in North Dakota, near the Standing Rock Indian Reservation. The protests attracted international attention.

ADVERTISEMENT

While then-President Obama delayed approving the final piece of Dakota Access, President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE cleared it soon after taking office in January 2017.

Greenpeace cheered the dismissal.

“Justice has been served,” Tom Wetterer, general counsel to Greenpeace USA, said in a statement.

“This is a huge victory not just for Greenpeace but for anyone and everyone who has ever stood up against powerful corporate interests,” he said. “Today’s decision to dismiss Energy Transfer's baseless lawsuit against Greenpeace and others sends a clear message to companies trying to muzzle civil society that corporate overreach will not be tolerated. It is also a check on corporate efforts to silence dissent.”