The US Senate and House of Representatives voted unanimously on Friday to end a 35-day partial federal government shutdown with legislation to temporarily fund many agencies, but without the $5.7bn President Donald Trump had demanded this year to help build a wall on the US-Mexico border.
Trump late on Friday signed the bill, which will provide funding through February 15 and end the longest government shutdown in US history.
Earlier in the day, in an apparent about-face on his demand for a wall, Trump announced that a deal had been reached.
“I am very proud to announce today that we have reached a deal to end the shutdown and reopen the federal government,” Trump said at the White House.
Trump said in the meantime a bipartisan committee of lawmakers would meet to discuss the nation’s border security needs.
“In a short while, I will sign a bill to open our government for three weeks until February 15. I will make sure that all employees receive their back pay very quickly, or as soon as possible,” Trump said.
Pressure mounted on Trump as the shutdown was threatening the economy and left hundreds of thousands of federal workers missing a second paycheque on Friday.
The Republican-led US Senate rejected two shutdown-ending bills on Thursday.
Democrats in the House had demanded a reopening of the government before any negotiations with Trump and his Republican allies in Congress on border security.
Earlier on Friday, the Federal Aviation Administration reported flight stoppages and flight delays at international airports in New York, Philadelphia and Newark, among others.
In recent weeks, Trump had dug in on his demand for a wall, but leading Democrats refused to budge, offering funding for border security other than a wall.
On Friday, however, Trump said the US does not need a concrete border wall along the entirety of the southern border.
“We never proposed that,” he added.