The Danish renewable energy company Orsted sued the Trump administration on Thursday to prevent it from blocking the completion of a wind farm off the coast of New England.

The Interior Department abruptly ordered Orsted on August 22 to halt construction on Revolution Wind off the coast of Rhode Island and Connecticut. The fully permitted project is 80% complete and would provide enough power for more than 350,000 homes across both states.

Orsted asked the United States District Court for the District of Columbia to set aside the stop-work order, calling it “unlawful” and “issued in bad faith.”