Thom Tillis of North Carolina changed his mind minutes before the vote and said he would oppose it.

The Republican president declared the emergency on 15 February after Congress refused funding for a wall on the US-Mexico border, a key campaign pledge.

He aims to circumvent Congress and build his long-promised barrier by raiding military budgets.

It could free up almost $8bn (£6bn) for the wall, which is still considerably short of the estimated $23bn cost of a barrier along almost 2,000 miles (3,200km) of border, but far more than the nearly $1.4bn begrudgingly allotted last month by Congress.

Earlier on Thursday Mr Trump called Democrats “border deniers” and said any Republican opposing him would be casting “a vote for Nancy Pelosi”.

He says the barrier is needed to combat illegal immigration on the southern border which he has described as a “crisis”.

Democrats say the declaration is unconstitutional, Mr Trump has manufactured the border emergency and a wall would be a boondoggle.

The resolution to revoke the declaration passed the House by a margin of 245-182 in February. Thirteen Republicans sided with Democrats.

Lawmakers used a provision from the National Emergencies Act to overrule the president.

Most Republicans supported Mr Trump’s decision and accused Democrats of ignoring an emergency at the border.

Senate Majority Leader Mitch McConnell says the declaration is “the predictable and understandable consequences of Democrats’ decision to put partisan obstruction ahead of the national interest”.

The renegade conservatives largely condemned Mr Trump’s declaration for setting up a dangerous presidential precedent while still agreeing with his border policies.

“This issue is not about strengthening our border security, a goal that I support and have voted to advance,” Mrs Collins said ahead of the vote.

“It is a solemn occasion involving whether or not this body will stand up for its institutional prerogatives and will support the separation of powers enshrined in our constitution.”

Mr Paul agreed Congress must fund border security, “but no president should go around Congress”.

He added that if the declaration stands, it could allow a future “socialist-inclined president” to pass environmental or gun control legislation.

Mr Romney echoed a similar sentiment, calling the use of an emergency an “overreach” that “is an invitation to further expansion and abuse by future presidents”.__BBC