Listen Live

(CNN) — Congress averted a government shutdown Thursday evening when both chambers voted to pass a stopgap bill to extend funding through mid-February after party leaders brokered a deal to overcome GOP brinkmanship over vaccine mandates.

The final tally in the Senate was 69-28.

Passage of the stopgap bill ahead of a Friday at midnight deadline ended a standoff that had threatened to trigger a shutdown when a small number of Republican senators who object to President Joe Biden’s vaccine requirements had held out the possibility of holding up a quick vote on the funding bill.

To resolve the impasse, the two parties agreed to hold votes on the stopgap bill as well as a GOP amendment to prohibit the use of federal funding for Covid-19 vaccine mandates, which ultimately failed.

Earlier on Thursday, the House passed a continuing resolution to fund the government through February 18.

The final vote was 221-212. Rep. Adam Kinzinger of Illinois was the only Republican to join Democrats in voting for the resolution.

Negotiators from both parties had announced a plan Thursday morning that would prevent a lapse in funding. But due to Senate rules governing procedure, all 100 senators needed to agree to quickly pass the plan before Friday, an outcome that it was not clear could be locked in until late in the day, when party leaders announced a deal had been reached.