Donald Trump's reversal of an Obama-era environmental protection was "unlawful", a judge has ruled.
During his presidency, Barack Obama brought in a ban on offshore drilling in parts of the Arctic and Atlantic.
Mr Trump attempted to overturn this with an executive order in 2017, promising to allow oil and gas companies back into protected regions.
District Court Judge Sharon Gleason has now ruled that the president violated a federal environmental law. What was 'unlawful' about what Trump did?
The court heard that Mr Trump fell foul of the federal Outer Continental Shelf Lands Act.
Under that law, presidents are allowed to withdraw areas from the national oil and gas leasing programme, which allows companies to drill in specified areas.
Mr Obama had used this law to protect almost 500,000sq km of the outer continental shelf - including the Arctic's Chukchi Sea, the Beaufort Sea, and a large area of the Atlantic Ocean on the country's east coast.
However, presidents do not have the power to add areas back to the leasing programme - only Congress does.
Judge Gleason told the court that therefore the ban on drilling "will remain in full force and effect unless and until revoked by Congress".
The ruling was the result of a lawsuit brought by a coalition of Alaskan indigenous and environmental groups.