A coalition of 16 US states led by California is suing President Donald Trump’s administration over his decision to declare an emergency to raise funds for a Mexican border wall.
The lawsuit was filed in the court for the Northern District of California.
It comes days after Mr Trump invoked emergency powers to bypass Congress and secure funding for the project – a key campaign pledge.
Democrats have vowed to contest it “using every remedy available”.
California Attorney General Xavier Becerra said they were taking President Trump to court “to block his misuse of presidential power”.
“We’re suing President Trump to stop him from unilaterally robbing taxpayer funds lawfully set aside by Congress for the people of our states. For most of us, the office of the presidency is not a place for theatre,” he added.
Mr Trump announced the plan after Congress refused funding for the wall.
Joining California in the lawsuit were Colorado, Connecticut, Delaware, Hawaii, Illinois, Maine, Maryland, Minnesota, Nevada, New Jersey, New Mexico, New York, Oregon, Virginia and Michigan.
The states argue that President Trump’s order to divert funds to pay for the wall would cost them millions of dollars, damaging their economies.
How did Mr Trump declare the emergency?
Making the announcement in the White House Rose Garden on Friday, the president said the emergency would allow him to get almost $8bn for the wall.
This is still considerably short of the estimated $23bn cost of the wall along almost 2,000 miles (3,200km) of border.
Mr Trump accepted that he would be sued for the move, and predicted that the emergency order would lead to legal action which was likely to end up in the Supreme Court.
What is a national emergency?
The National Emergencies Act is intended for times of national crisis. Mr Trump has claimed that there is a migration crisis at the nation’s southern border – a claim strongly refuted by migration experts.
The largest number of illegal migrants settling in the US each year is those who stay in the country after their visas expire.
Emergency declarations by previous presidents have been overwhelmingly used for addressing foreign policy crises – including blocking terrorism-linked entities from accessing funds or prohibiting investment in nations associated with human rights abuses.