funding bill late on Saturday with overwhelming Democratic support after Republican Speaker Kevin McCarthy backed down from an earlier demand by his party's hardliners for a partisan bill.
The Democratic-majority Senate voted 88-9 to pass the measure to avoid the federal government's fourth partial shutdown in a decade, sending it to President Joe Biden to sign into law before the 12:01 a.m. ET (0401 GMT) deadline.
McCarthy abandoned party hardliners' insistence that any bill pass the chamber with only Republican votes, a change that could cause one of his far-right members to try to oust him from his leadership role.
The House voted 335-91 to fund the government through Nov.
17, with more Democrats than Republicans supporting it.
That move marked a profound shift from earlier in the week, when a shutdown looked all but inevitable. A shutdown would mean that most of the government's 4 million employees would not get paid — whether they were working or not — and also would shutter a range of federal services, from National Parks to financial regulators.
Federal agencies had already drawn up detailed plans that spell out what services would continue, such as airport screening and border patrols, and what must shut down, including scientific research and nutrition aid to 7 million poor mothers.
«The American people can breathe a sigh of relief: there will be no government shutdown tonight,» Democratic Senate Majority Leader Chuck Schumer said after the vote.