United States President Donald Trump has called the looming end of the government shutdown a “big victory” after the Senate passed a bill to fund federal agencies.

Trump congratulated Republican House Speaker Mike Johnson and Senate Majority Leader John Thune on Tuesday for the soon-to-be-approved funding bill.

“Congratulations to you and to John and to everybody on a very big victory,” Trump said, addressing Johnson at a Veterans Day event.

We’re opening up our country — should have never been closed.”

The US president’s comments signal that he views the shutdown crisis as a political win for his Republican Party, which is set to end the budgeting impasse in Congress without meeting the Democrats’ key demand: extending healthcare subsidies.

The Senate passed the funding bill late on Monday in a 60-40 vote that saw eight members of the Democratic caucus backing the proposal.

The Republican-controlled House of Representatives is expected to pass the budget in the coming days to end the shutdown, which has been the longest in US history. Assuming the House approves the bill, it will then go to Trump’s desk, and the president is expected to sign it into law.

In the US system, Congress is tasked with funding the government.

If lawmakers fail to pass a budget, the federal government goes into shutdown mode, where it stops paying most employees and sends non-essential workers home.

Republicans control the House, Senate and White House, but their narrow majority in the Senate had previously prevented them from passing a continuing resolution to keep the government funded.