President Trump has confirmed he will use emergency powers to build a wall on the US border with Mexico, saying “walls work”.
Building the wall was a key pledge of Mr Trump’s campaign, but Democrats have described the move as a “gross abuse of power”.
He later signed the plan along with a spending bill aimed at preventing a repeat of a recent government shutdown.
He announced the plan after Congress refused to pay for a wall in the bill.
Senior Democrats immediately said that they would challenge the move in the courts.
The declaration will give Mr Trump access to billions of dollars for his project.
What did Mr Trump say?
Making the announcement in the White House Rose Garden, the president said the emergency would allow him to get almost $8bn for the wall.
The money is expected to be diverted from military construction projects and efforts to fight the drugs trade.
This is still considerably short of the estimated $23bn cost of the wall along almost 2,000 miles (3,200km) of border.
“We’re going to confront the national security crisis on our southern border,” Mr Trump said.
“We have an invasion of drugs, invasion of gangs, invasion of people, and it’s unacceptable.
“Everyone knows that walls work.”
But 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.
By Jon Sopel, BBC North America editor
The trouble with going nuclear is there is fall-out. This has been presented as a predictably partisan issue.
On one side of the wall, Republicans; on the other side Democrats. But by going nuclear the president has made it more complicated than that. There are a lot of Republicans – in the Senate and in the House – deeply uneasy about what Mr Trump is doing.
Why? Because the constitutional arrangement of the US is that Congress – not the president – controls the purse strings and allocates funds.
This is a major land grab by the president. It undermines their position and sets a very dangerous precedent.
How have Democrats responded?
House of Representatives Speaker Nancy Pelosi and Senate Democrat leader Chuck Schumer responded to Mr Trump’s announcement with a statement saying they would challenge the move in Congress and in the courts “using every remedy available”.
“The president’s unlawful declaration over a crisis that does not exist does great violence to our Constitution and makes America less safe, stealing from urgently needed defence funds for the security of our military and our nation,” the statement said.
“This is plainly a power grab by a disappointed president, who has gone outside the bounds of the law to try to get what he failed to achieve in the constitutional legislative process.”
Ms Pelosi also seized on a remark by Mr Trump in response to a question from a reporter, in which he said he “didn’t need to do this” but had done so because he wanted a quicker result than by going through Congress.
Analysts suggest that this remark could undermine Mr Trump’s case in court that the country was facing an emergency.
Within minutes of the announcement, New York State attorney-general Letitia James vowed to mount a legal challenge.
Can Congress stop Trump’s emergency move?
The National Emergencies Act contains a clause that allows Congress to terminate the emergency status if both houses vote for it – and the president does not veto.
With a comfortable majority in the House, Democrats could pass such a resolution to the Senate. The Republicans control the Senate, but a number of Republican senators have been vocal in their unease about the president invoking a national emergency.
The dissenting Republicans include 2012 presidential contender and new senator for Utah Mitt Romney, Florida senator Marco Rubio, and the senator from Maine Susan Collins, who said the move was of “dubious constitutionality”.
The resolution would however still require Mr Trump’s signature to pass, allowing him to veto it. A supermajority in both houses of Congress is needed to overturn a presidential veto.
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.
Declaring a national emergency would give the president access to special powers that effectively allow him to bypass the usual political process, and he would be able to divert money from existing military or disaster relief budgets to pay for the wall.
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.
Mr Trump’s decision to apply the powers to overcome a partisan impasse over border security has struck politicians on both sides of the aisle as a deviation from the intended use of the act.
“It would be a pretty dramatic expansion of how this was used in the past,” said the Republican senator Ron Johnson.