A bill to avert a partial government shutdown that was backed by President-elect Donald Trump failed to pass the House of Representatives on Thursday night, pushing Congress closer to a government shutdown. 

The bill, which had won the approval of President-elect Donald Trump, still lost the approval of 38 Republicans. 

The deal roundly lost 235 to 174, scoring only 2 Democratic ‘yes’ votes and 197 Democratic nos. 

President-elect Donald Trump and Speaker Mike Johnson (R-LA) are struggling to prevent a government shutdown.

President-elect Donald Trump and Speaker Mike Johnson (R-LA) are struggling to prevent a government shutdown. (Getty Images)

It comes after two days of chaos in Congress as lawmakers fought among themselves about a path forward on government spending – a fight joined by Trump and his allies Elon Musk and Vivek Ramaswamy.

Meanwhile, the national debt has climbed to over $36 trillion, and the national deficit is over $1.8 trillion.

The new deal also includes several key policies unrelated to keeping the government open, but the 116-page bill is much narrower than its 1,547-page predecessor.

Donald Trump speaking with Elon Musk

Tesla and SpaceX CEO Elon Musk speaks with former president Donald Trump during a campaign event at the Butler Farm Show, Saturday, Oct. 5, 2024, in Butler, Pa.  (Photo by Jabin Botsford/The Washington Post via Getty Images)

'HELL NO': HOUSE DEMS ERUPT OVER GOP SPENDING DEAL

Like the initial bill, the new iteration extended the government funding deadline through March 14 while also suspending the debt limit – something Trump had pushed for. It also included $110 billion in disaster relief and a farm bill extension. 

"Why would we give Joe Biden more money this late in his administration?" said Rep. Bob Good, R-Va., after the vote. "The money intended for disaster victims should have been paid for, there should have been offsets. 

The Democrats who voted ‘yes’ on the legislation were Reps. Kathy Castor, Fla., and Marie Gleusenkamp Perez, Wash. 

Left: Elon Musk; Right: Vivek Ramaswamy

Elon Musk, left, and Vivek Ramaswamy (Left: Anna Moneymaker/Getty Images; Right: Al Drago/Bloomberg via Getty Images)

Here's a list of all the Republicans who voted ‘no’ on the legislation: 

Rep. Aaron Bean, Fla. 

Rep. Andy Biggs, Ariz.

Rep. Josh Brecheen, Okla.

Rep. Tim Burchett, Tenn.

Rep. Eric Burlison, Mo.

Rep. Kat Cammack, Fla. 

Rep. Michael Cloud, Texas

Rep. Andrew Clyde, Ga.

Rep. Eli Crane, Ariz. 

Rep. John Curtis, Utah 

Rep. Jeff Duncan, S.C. 

Rep. Russ Fulcher, Idaho

Rep. Bob Good, Va. 

Rep. Paul Gosar, Ariz. 

Rep. Doug Lamborn, Colo.

Rep. Debbie Lesko, Ariz. 

Rep. Nancy Mace, S.C. 

Rep. Thomas Massie, Ky. 

Rep. Rich McCormick, Ga. 

Rep. Corey Mills, Fla. 

Rep. Alex Mooney, W. Va. 

Rep. Ralph Norman, S.C. 

Rep. Scott Perry, Pa. 

Rep. Chip Roy, Texas 

Rep. David Schweikert, Ariz. 

CLICK HERE TO GET THE FOX NEWS APP

Rep. Keith Self, Texas 

Rep. Victoria Spartz, Ind. 

Rep. Tom Tiffany, Wis. 

Rep. Beth Van Duyne, Texas