The Senate passed a stopgap bill that will extend funding through mid-February after the House approved the measure earlier in the day. The bill will next go to President Biden for his signature.
The final tally in the Senate was 69-28. The final House vote was 221-212. Rep. Adam Kinzinger of Illinois was the only Republican to join Democrats in voting for the resolution.
Why this matters: The passage of the stopgap bill ahead of a Friday midnight deadline put an end to a standoff that had threatened to trigger a shutdown, which could have impacted multiple federal departments and employees.
How we got to the vote: Party leaders cleared the way for a vote tonight in the Senate after overcoming a Republican standoff over President Biden's vaccine mandates.
To resolve the impasse, the two parties came up with an agreement to hold votes on the stopgap bill as well as on a GOP amendment to prohibit the use of federal funding for Covid-19 vaccine mandates, which failed.
Earlier Thursday: Negotiators from both parties announced a plan 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 was not clear it could be locked in until late in the day when party leaders announced a deal had been reached.
"There are scenarios in which Treasury would be left with insufficient remaining resources to continue to finance the operations of the U.S. Government beyond this date," Yellen said of the new deadline in a letter to House Speaker Nancy Pelosi on Nov. 16.
While the pushed deadline gives lawmakers some additional time to address the debt ceiling, it remains unclear how Democrats will proceed after Republican leaders, including Senate Minority Leader Mitch McConnell, have repeatedly stated they will not help with legislation to raise the limit.
CNN's Paul LeBlanc and Brian Rokus contributed reporting to this post.