The Senate approved a seven-week funding bill on Wednesday, preventing a partial government shutdown that was expected to begin on Saturday.

Senators passed the legislation by voice vote, which represented the final item on the Senate's to-do list as they wrap up their work for the year this week.

ADVERTISEMENT

It still needs to pass the House, which returned to Washington on Wednesday night, and be signed by President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE.

Republican senators say that while they believe Trump is unhappy with Congress passing a short-term fix, they believe he will sign it because they were able to keep other controversial policy riders off of it.

"I think the message is don't add anything else to it," said Sen. John Cornyn John CornynThe Hill's Campaign Report: GOP set to ask SCOTUS to limit mail-in voting Liberal super PAC launches ads targeting vulnerable GOP senators over SCOTUS fight Senate GOP faces pivotal moment on pick for Supreme Court MORE (R-Texas), the No. 2 Senate Republican. "He's not happy about that [a continuing resolution] but he understands the reality."

The stopgap bill, which will fund roughly 25 percent of the federal government, kicks the funding deadline from Dec. 21 to Feb. 8, avoiding dragging a partial shutdown fight into the Christmas holiday.

A vote on the bill was temporarily held up Wednesday over a fight on whether or not to include a land and water measure, which has been stalled amid negotiations for months. Sen. Joe Manchin Joseph (Joe) ManchinManchin defends Supreme Court candidate Barrett: 'It's awful to bring in religion' The Hill's Morning Report - Sponsored by Facebook - Trump, GOP allies prepare for SCOTUS nomination this week Trump meets with potential Supreme Court pick Amy Coney Barrett at White House MORE (D-W.Va.) is also pushing for legislation benefiting miners to be attached to the short-term spending package.

Senators were spotted singing multiple Christmas carols as they waited for action on the continuing resolution.

Though members of the impromptu choir rotated as senators shuffled around the floor, Democratic Sens. Heidi Heitkamp Mary (Heidi) Kathryn HeitkampHarris faces pivotal moment with Supreme Court battle Centrists, progressives rally around Harris pick for VP 70 former senators propose bipartisan caucus for incumbents MORE (N.D.), Kirsten Gillibrand Kirsten GillibrandSunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election Suburban moms are going to decide the 2020 election Jon Stewart urges Congress to help veterans exposed to burn pits MORE (N.Y.), Kamala Harris Kamala HarrisHarris faces pivotal moment with Supreme Court battle Nearly 40 Democratic senators call for climate change questions in debates Joe Biden has long forgotten North Carolina: Today's visit is too late MORE (Calif.), Joe Donnelly Joseph (Joe) Simon DonnellyHarris faces pivotal moment with Supreme Court battle Trump meets with potential Supreme Court pick Amy Coney Barrett at White House Names to watch as Trump picks Ginsburg replacement on Supreme Court MORE (Ind.) Mazie Hirono Mazie Keiko HironoManchin defends Supreme Court candidate Barrett: 'It's awful to bring in religion' Democrats shoot down talk of expanding Supreme Court Democrats unveil plan declaring racism a public health issue MORE (Hawaii) and Tim Kaine Timothy (Tim) Michael KaineDemocrats call for declassifying election threats after briefing by Trump officials Buttigieg stands in as Pence for Harris's debate practice Trump meets with potential Supreme Court pick Amy Coney Barrett at White House MORE (Va.) took part in the group. Senators were able to work through multiple songs as they waited for their colleagues to arrive back at the Capitol, including "Jingle Bells," "Little Drummer Boy," "Rudolph the Red-Nosed Reindeer" and "O Holy Night."

Sen. Jeff Flake Jeffrey (Jeff) Lane FlakeHow fast population growth made Arizona a swing state Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Republican former Michigan governor says he's voting for Biden MORE (R-Ariz.), seizing on the holiday spirit, closed a vote that required senators to return to the Capitol by quipping, "The yeas are 71, the nays are 21 — with Rudolph responding present."

Sen. Mark Warner Mark Robert WarnerDemocrats call for declassifying election threats after briefing by Trump officials It's time to upgrade benefits Intelligence chief says Congress will get some in-person election security briefings MORE (D-Va.), in apparent reference to the floor antics, tweeted: "'Tis the season."

Senators held out hope as recently as Tuesday that they would be able to scramble together a deal to fund the remaining seven out of the 12 appropriations bills through Sept. 30, the end of the 2019 fiscal year.

But both sides remained far apart on funding for the U.S.–Mexico border wall. Trump and House Republicans want $5 billion for the wall. Democrats, meanwhile, dug in at $1.3 billion as their cap and insisted that it would go toward fencing, not a physical concrete wall.

Hopes for a long-term deal seesawed throughout the week amid a shuffle of meetings and competing theories from lawmakers about what they would be able to agree to.

Sen. Richard Shelby Richard Craig ShelbySenate GOP eyes early exit Dems discussing government funding bill into February GOP short of votes on Trump's controversial Fed pick MORE (R-Ala.) told reporters Monday that he thought Trump could make a decision by 5 p.m. Monday, but that deadline came and went. And Shelby, Sen. Patrick Leahy Patrick Joseph LeahyDemocrats shoot down talk of expanding Supreme Court Battle over timing complicates Democratic shutdown strategy Hillicon Valley: Russia 'amplifying' concerns around mail-in voting to undermine election | Facebook and Twitter take steps to limit Trump remarks on voting | Facebook to block political ads ahead of election MORE (D-Vt.), Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellFEC flags McConnell campaign over suspected accounting errors Poll: 59 percent think president elected in November should name next Supreme Court justice Mark Kelly: Arizona Senate race winner should be sworn in 'promptly' MORE (R-Ky.) and Minority Leader Charles Schumer Chuck SchumerCruz blocks amended resolution honoring Ginsburg over language about her dying wish Senate Democrats introduce legislation to probe politicization of pandemic response Schumer interrupted during live briefing by heckler: 'Stop lying to the people' MORE (D-N.Y.) huddled in McConnell’s office on Tuesday morning to try to craft a path forward.

But hope of a long-term deal was quickly dashed when House Democratic Leader Nancy Pelosi Nancy PelosiHoyer: House should vote on COVID-19 aid — with or without a bipartisan deal Ruth Bader Ginsburg lies in repose at Supreme Court McCarthy threatens motion to oust Pelosi if she moves forward with impeachment MORE (D-Calif.) told reporters that Democrats couldn't accept the deal offered by Republicans.

“Sen. Schumer — Leader Schumer and I have said that we cannot accept the offer they made of a billion dollar slush fund for the president to implement his very wrong immigration policies, so that won’t happen,” Pelosi said on Tuesday.

Republicans acknowledged that the Democratic rejection of their offer made punting the funding fight all but inevitable.

ADVERTISEMENT

A GOP senator who attended the lunch predicted leadership would end up with a stopgap bill, adding, “They're still going to try to work it out in a different way, but my guess is they won’t.”

Shelby told reporters hours later that he had been asked to draft a CR that lasted into February, and McConnell made it official on Wednesday morning by announcing his plan to bring up the short-term bill.

“I’m sorry that my Democratic colleagues couldn’t put the partisanship aside and show the same good-faith flexibility that the president has shown in order to provide the resources our nation needs to secure the integrity of our borders as well as the safety of American families,” McConnell said. “But this seems to be the reality of our political moment.”

Conservative lawmakers and pundits are blasting GOP leaders and Trump over the stopgap spending measure.

Rep. Jim Jordan James (Jim) Daniel JordanHouse panel pulls Powell into partisan battles over pandemic Sunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election House passes resolution condemning anti-Asian discrimination relating to coronavirus MORE (R-Ohio) questioned in a tweet: “Let me get this straight... our chances of getting the Wall will be better in February when Nancy Pelosi is Speaker than now when we have the majority?”

But the White House appeared increasingly resolved to a continuing resolution as the week stretched on, the deadline looming and no long-term deal in sight.

White House press secretary Sarah Huckabee Sanders said Tuesday that “at the end of the day, we don’t want to shut down the government.”

Trump appeared ready to fight on for the wall next year, saying in a tweet Wednesday that “one way or the other, we will win on the Wall!"

"In our Country, so much money has been poured down the drain, for so many years, but when it comes to Border Security and the Military, the Democrats fight to the death," he wrote early Wednesday.

"We won on the Military, which is being completely rebuilt. One way or the other, we will win on the Wall!"