House TV
Now playing
01:40
House passes bill with border wall spending
US President Donald Trump speaks during a "Make America Great Again" rally at the Eastern Kentucky University, in Richmond, Kentucky, on October 13, 2018. (Photo by Nicholas Kamm / AFP)        (Photo credit should read NICHOLAS KAMM/AFP via Getty Images)
NICHOLAS KAMM/AFP/AFP via Getty Images
US President Donald Trump speaks during a "Make America Great Again" rally at the Eastern Kentucky University, in Richmond, Kentucky, on October 13, 2018. (Photo by Nicholas Kamm / AFP) (Photo credit should read NICHOLAS KAMM/AFP via Getty Images)
Now playing
04:19
Haberman: This underscored for Trump that he's not president
WASHINGTON, DC - MARCH 29: Fox News host Tucker Carlson discusses 'Populism and the Right' during the National Review Institute's Ideas Summit at the Mandarin Oriental Hotel March 29, 2019 in Washington, DC. Carlson talked about a large variety of topics including dropping testosterone levels, increasing rates of suicide, unemployment, drug addiction and social hierarchy at the summit, which had the theme 'The Case for the American Experiment.'  (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images
WASHINGTON, DC - MARCH 29: Fox News host Tucker Carlson discusses 'Populism and the Right' during the National Review Institute's Ideas Summit at the Mandarin Oriental Hotel March 29, 2019 in Washington, DC. Carlson talked about a large variety of topics including dropping testosterone levels, increasing rates of suicide, unemployment, drug addiction and social hierarchy at the summit, which had the theme 'The Case for the American Experiment.' (Photo by Chip Somodevilla/Getty Images)
Now playing
02:48
Carlson promotes conspiracy that FBI planned Capitol riot
CNN
Now playing
02:55
Abrams says she is open to Manchin's voting rights legislation
CNN
Now playing
01:56
Toobin: Huge victory for Obamacare, but fight isn't over
Split Fanone Clyde
CNN/Pool
Split Fanone Clyde
Now playing
04:26
DC officer Fanone recalls interaction with GOP Rep.: He ran away 'like a coward'
President Joe Biden and Russian President Vladimir Putin, arrive to meet at the 'Villa la Grange', Wednesday, June 16, 2021, in Geneva, Switzerland.
Patrick Semansky/AP
President Joe Biden and Russian President Vladimir Putin, arrive to meet at the 'Villa la Grange', Wednesday, June 16, 2021, in Geneva, Switzerland.
Now playing
02:58
Biden and Putin hold first face-to-face meetings
Now playing
03:40
Arizona voting data taken to so-called 'lab' in remote Montana
President Joe Biden speaks to the news media following a news conference after meeting with Russian President Vladimir Putin, Wednesday, June 16, 2021, in Geneva, Switzerland.
Patrick Semansky/AP
President Joe Biden speaks to the news media following a news conference after meeting with Russian President Vladimir Putin, Wednesday, June 16, 2021, in Geneva, Switzerland.
Now playing
03:45
Biden apologizes for firing back at CNN's Kaitlan Collins after question
CNN
Now playing
11:01
Keilar and Berman: Vote shows GOP cares about police ... until they don't
weisselberg
JB Miller/Trump Organization
weisselberg
Now playing
01:43
NYT: Trump finance chief could face charges as early as this summer
Pro-Trump supporters storm the U.S. Capitol following a rally with President Donald Trump on January 6, 2021 in Washington, DC. Trump supporters gathered in the nation's capital today to protest the ratification of President-elect Joe Biden's Electoral College victory over President Trump in the 2020 election.
Samuel Corum/Getty Images
Pro-Trump supporters storm the U.S. Capitol following a rally with President Donald Trump on January 6, 2021 in Washington, DC. Trump supporters gathered in the nation's capital today to protest the ratification of President-elect Joe Biden's Electoral College victory over President Trump in the 2020 election.
Now playing
03:35
Avlon: There's a lot we still don't know about Jan. 6
Getty Images
Now playing
03:25
See top Trump DOJ official's two-word response to election probe request
US President Joe Biden gives a press conference after the NATO summit at the North Atlantic Treaty Organization (NATO) headquarters in Brussels, on June 14, 2021.
OLIVIER HOSLET/AFP/POOL/Getty Images
US President Joe Biden gives a press conference after the NATO summit at the North Atlantic Treaty Organization (NATO) headquarters in Brussels, on June 14, 2021.
Now playing
01:25
Biden calls on foreign leaders to protect against 'phony populism'
CNN
Now playing
01:39
Honig: Emails show Trump had his enablers
Senate TV
Now playing
05:54
McConnell dismisses Trump DOJ's secret seizure of data
CNN —  

With Washington a little more than 24 hours away from a partial government shutdown, the House of Representatives on Thursday passed a spending bill that includes an additional $5 billion for President Donald Trump’s long-promised border wall. The vote was 217-185.

The $5 billion is in line with what the President has requested of Congress, but passage of the measure significantly raises the chances that the government will at least partially shut down at the end of the week.

That’s because the bill next heads to the Senate, where it is expected to be dead on arrival due to opposition over the border wall money.

Democrats have already made clear they will not support $5 billion for the wall, and any spending measure would need bipartisan support to pass in the Senate.

Late Thursday night, Trump tweeted: “Thank you to our GREAT Republican Members of Congress for your VOTE to fund Border Security and the Wall. The final numbers were 217-185 and many have said that the enthusiasm was greater than they have ever seen before. So proud of you all. Now on to the Senate!”

Minutes later, he added: “Soon to be Speaker Nancy Pelosi said, last week live from the Oval Office, that the Republicans didn’t have the votes for Border Security. Today the House Republicans voted and won, 217-185. Nancy does not have to apologize. All I want is GREAT BORDER SECURITY!”

The question now is whether a partial shutdown can still be averted. Funding will expire for several key government agencies at midnight on Friday. If the deadline is not extended, those agencies will shutter just days before Christmas.

Just a day ago, lawmakers had appeared on track to stave off a shutdown after the Senate passed its stopgap funding bill with top congressional Republicans signaling that they expected the President to sign the measure.

But the outlook changed drastically on Thursday as Trump ratcheted up his rhetoric and suggested again that he is not willing to accept anything less than his $5 billion demand.

House GOP leaders had emerged from a meeting with the President at the White House earlier in the day saying that Trump had told them he would not accept the stopgap measure passed by the Senate, which did not include the border wall funding he wanted.

That news threw many lawmakers into a tailspin as confusion and uncertainty over what would happen next dominated the day on Capitol Hill.

Rep. Mark Meadows, the chairman of the House Freedom Caucus, told CNN earlier in the day on Thursday that state of play on the spending bill is “very fluid right now.”

The bill the House took up on Thursday includes $7.81 billion in disaster funds through the rest of the fiscal year in the aftermath of widespread wildfires and Hurricanes Michael and Florence in addition to $5 billion in new money for the border wall for the rest of the fiscal year but to remain available until September 30, 2023.

It is widely expected that the measure will be unable to pass in the Senate, however, given its allocation for border wall funding.

Senate Majority Leader Mitch McConnell’s proposal that passed the Senate the day before had the backing of the top congressional Democratic leaders Nancy Pelosi and Chuck Schumer, and top congressional Republicans had indicated on Wednesday they were optimistic that the President would sign the measure.

Pelosi, however, argued during a press conference on Thursday that the situation was descending into a “meltdown” among Republicans. While she expressed openness to additional funds for issues like disaster aid, she said wall funding would be a dealbreaker for Democrats.

“We’ll see what they come up with in terms of disaster assistance, we’ll see. But in terms of wall funding, that’s a non-starter.”

A House GOP conference meeting earlier in the day was a “strong rebuke” against the short-term spending bill passed by the Senate, according to North Carolina Republican Rep. Mark Walker. “There wasn’t any ambiguity in the room today,” Walker told CNN.

“We’ve got to stay here and get this job done and get border security passed,” Walker said. “The Senate’s voice vote on the CR was strongly rejected by the conference this morning.”

The North Carolina Republican said one member who hadn’t spoken in the conference in eight years stood up to speak Thursday and that Rep. Virginia Foxx’s husband called her from back home to say you’ve got to get the wall done. “It wasn’t just one group or one caucus; It was across the board,” Walker said.

“There’s a lot of frustration,” said Rep. Greg Walden, Republican of Oregon.

The Senate-passed measure faces opposition from a broad group of conservatives. Members of the House Freedom Caucus and other conservative allies of the President spoke on the House floor Wednesday night, urging Trump not to abandon new money for border wall funding.

Jordan, speaking on the floor, blasted the idea of postponing another spending bill fight to February, when Democrats will hold the majority in the House.

“You’ve got to be kidding me, really? I mean February 8th? When Nancy Pelosi is speaker? I’m supposed to believe, we’re supposed to believe that we’re then going to build the border security wall and keep our promise from the 2016 campaign? No way!” Jordan said.

This story has been updated with additional developments Thursday.

CNN’s Manu Raju, Kate Sullivan, Ryan Nobles, Liz Landers, Lauren Fox, Sarah Westwood, Alex Rogers and Kaitlan Collins contributed to this report