(Bloomberg) -- The US House advanced a long-stalled $95 billion aid package for Ukraine, Israel and Taiwan, a breakthrough signaling an end to an increasingly agonizing wait for Ukraine and US allies in Europe.

The pivotal procedural vote Friday signals the funding will prevail on Saturday when the House is scheduled to vote on the bill, which also includes a provision that would force the social media platform TikTok’s Chinese parent company to divest or face a ban in the US.

House Speaker Mike Johnson relied heavily on Democrats in the 316-94 vote to overcome a blockade from conservatives within his own party. More Democrats than Republicans voted to advance the aid package, with 165 Democrats supporting the procedural step. Fifty-five Republicans defied Johnson.

The long-delayed Ukraine aid is vital to country’s ability to hold back Russian forces and defend against missile attacks that have destroyed major power plants and other infrastructure. Without the weapons, US and Ukrainian officials have warned that Kyiv would be unable to hold its defensive lines and could lose on the battlefield before the end of this year.

Read More: Ukraine’s Allies See Bleak Times Without More Air Defenses

The Senate, which overwhelmingly passed similar legislation, is expected to vote in the coming days. The Biden administration is already preparing to move assistance to Ukraine swiftly after that, a US official said.

“We are at an inflection point, and the longer we wait, the more expensive any solution to this conflict will become, both in terms of dollars and lives,” House Rules Chairman Michael Burgess, a Texas Republican who backed the package, said.

Johnson now faces a backlash from Republican hardliners that could imperil his leadership position.

“I don’t worry. I just do my job,” Johnson said Friday shortly before the vote. “I am not deterred by threats.”

Read more: What a TikTok Ban in the US Would Mean for the App: QuickTake

Irate conservatives in the House Freedom Caucus attempted to stop the package because it does not condition aid to Ukraine on changes to US border policies.  The same conservatives were instrumental in scuttling a border security compromise that emerged in the Senate earlier this year, arguing it was too weak to stem the record flow of illegal migration across the US-Mexico border.

“It’s official: Speaker Johnson is no longer the GOP Speaker of the House,” Senator Rand Paul, a Kentucky Republican said on the social media platform X.

Democrats’ support for Johnson in Friday’s procedural vote and hardliners opposition are both an extraordinary break from the traditions of the US, in which such votes setting the terms of floor debate follow party lines.

Minority Democrats had to do the same thing in May in order to pass a measure to raise the debt ceiling and prevent a US payment default.

“The world is watching,” said Democratic Representative Jim McGovern. “Democracy is on the line with Ukraine.”

Democrats may also have to help Johnson save his job.

Georgia Republican Marjorie Taylor Greene could trigger a vote on a motion to oust the speaker at any time and she would need just a handful of other conservatives to support her if Democrats go along.  Some moderate Democrats have already vowed to protect the speaker from such an attempt by voting to dismiss the ouster motion.

Hardline Republican Paul Gosar of Arizona announced shortly after Friday’s vote that he would join Greene and Republican Thomas Massie in seeking Johnson’s ouster. 

Because of the slim Republican majority, that means Johnson would need at least some Democratic support to retain his leadership position. Some Democrats already have said they would back him and more may be willing to do so after the aid package is approved.

Read More: Ultra Conservative Johnson Counts on Democrats for His Survival

The $95 billion aid package also contains national security and sanctions provisions with bipartisan support. It also allows the confiscation of Russian dollar assets, something critics allege would weaken the status of the US dollar as the world’s reserve currency.

The bill would ban the popular social media app TikTok if China’s Bytedance does not divest itself from the company. The deadline to do was extended in the latest plan to up to 360 days, well past the November US elections. The package mandates sanctions on Iranian oil but does not expedite natural gas exports due to objections by Democrats. It has $9 billion in humanitarian aid including for Palestinians due to pressure from Democrats. 

Because the contents of the package were negotiated behind the scenes with Senate Majority Leader Chuck Schumer and the White House, it is expected to clear the Senate despite conservative vows there to delay the process.

Read More: Ukraine Aid Stokes GOP Hardliner Support for Ousting Speaker

(Updates with Republican Gosar announcing support for Johnson ouster starting in 16th paragraph)

©2024 Bloomberg L.P.