The US Senate has passed a major spending bill that would effectively avoid another federal government shutdown, sending the legislation to the president’s desk for a signature.
Now, the only question is whether Donald Trump intends to sign it.
The bipartisan measure is the product of weeks of negotiations after the longest government shutdown in history, in which Mr Trump demanded billions of dollars towards his campaign promise of building a wall sprawling across the entirety of the US-Mexico border.
At the time, he said he would be “proud” to shut the government down over his demands -- before later buckling to increased pressure from Republicans and federal employees across the country, 800,000 of whom went without pay during the 35-day partial government closure.
Mr Trump has appeared to begrudgingly accept the final bill, which reportedly does not include his funding demands for a border wall.
The deadline for the president to sign the legislation is on Friday.
He has signaled he would instead invoke a national emergency in order to bypass Congressional spending restrictions and avoid asking the permission of lawmakers to circumvent funding towards his border wall.
A national emergency over the border would likely face an exhaustive legal challenge, however, as its constitutionality remains unclear.
In a speech on the US Senate floor, Minority Leader Chuck Schumer railed against the president’s national emergency threats, calling it a “tremendous mistake and a “lawless act.”
The New York Democrat also said Mr Trump invoking a national emergency over the nation’s southern border would be a “gross abuse of power by the president.”
Follow updates as they happened below

Trump does not think government will shutdown again
Republicans are calling the deal a win, while Democrats say they offered the same funding levels in DecemberSuch a move would be likely to spark a court battle, as it is Congress and not Mr Trump that decides how federal funds are spent.
The House Appropriations Committee said the bill would set a path for reducing immigrant detention beds to about 40,520 by the end of the fiscal year, down from a current count of approximately 49,060.
Democrats sought reductions, arguing that would force federal agents to focus on apprehending violent criminals and repeat offenders and discourage arrests of undocumented immigrants for minor traffic violations, for example.
The Senate Appropriations Committee, which is run by Republicans, said there were provisions in the bill that could result in an increase in detention beds from last year.
Chairwoman Nita Lowey said the bill would improve medical care and housing of immigrant families in detention and expand a programme providing alternatives to detention.

Trump's former campaign manager breached plea deal so may not get lighter sentence, judge rule
There was a 'preponderance' of evidence that Manafort lied on three different topics, Judge Amy Berman Jackson finds
Trump installs $50,000 golf simulator in White House, report says
The president is known for his frequent trips to play golf, even though he was highly critical of Barack Obama for hitting the links
Russia preparing ‘perfect storm’ of 2020 election interference, officials warn
'Other state actors have seen the success of Russia and realize the value of disinformation operations,' officials warn
Ilhan Omar responds to Trump's call for her to resign
The IndependentMs Omar has apologised after criticism for her remarks about the pro-Israel group AIPAC, but maintains that lobbying influence in Washington is a problem
Opinion: Donald Trump and Bernie Sanders have started to agree on healthcare
Even Donald Trump has taken aim at sky-high prescription medication costs -- so what is it about Medicare-for-all that has powerful pharmaceutical, hospital, and health insurance lobbies running scared?
Local fire department forced to call out Trump, president of the United States, for lying about crowd sizes again
The president's crowd size claims are among the least consequential he espoused on Monday night
Officials considered removing Trump with 25th amendment, ex-FBI chief reveals
Extraordinary interview underlines law enforcement fears over incumbent in White HousePlease allow a moment for our liveblog to load