US lawmakers expect the bill to pass through the House by next week
A bill to avert a US government shutdown has won passage from a divided US Senate after lawmakers cut deals on amendments, setting the stage for the president to sign it this week.
It also cleared the way for key debate on the 2014 budget.
The so-called continuing resolution (CR) funds day-to-day government operations through the remainder of the fiscal year ending September 30. It easily passed 73-26 on Wednesday after Senate leaders agreed on the amendments.
Debate over the 2014 budget began in earnest on the chamber's floor minutes after the bill's passage.
"This is a very good day for the Senate," Democratic Majority Leader Harry Reid told his colleagues. "Legislation is the art of compromise."
Reid and his Republican counterpart, Senator Mitch McConnell, coordinated to break a logjam that threatened to delay the bill into next week's congressional recess, jeopardising the operations of government if President Barack Obama does not sign the legislation by March 27.
The continuing resolution now goes to the House, where aides said it was expected to pass as early as Thursday.
The Republican-led House took the lead earlier this month with its original bill that largely kept in place the effects of billions of dollars in automatic budget cuts.
The Senate did not overturn the cuts, retaining the five percent budget pinch to domestic agencies and eight percent slash to the Pentagon. It also kept the defence tweaks that the House included in its CR.
But in a bid to soften the blow, it re-arranged the spending allocations for a majority of government agencies, including the departments of justice, commerce and homeland security.
One adopted Senate amendment shifted some $55m to federal meat inspectors to ensure the continued operation of US food plants, which are required to shut down if there are no inspectors.
Another amendment aimed to keep air traffic control towers at rural airports financed under the budget cuts did not make it to the floor for a vote.
Senator John Cornyn, who voted for the CR along with 19 other fellow Republicans, acknowledged imperfections but said the measure "represents the first modest step toward reining in wasteful, Washington spending."
But Senator Marco Rubio, a Republican presidential prospect for 2016, criticised the measure for allowing Washington "to jump from one self-inflicted crisis to the next without actually solving any of our long-term job creation and debt challenges."
"I refuse to support new measures that are simply a short-term, short-sighted Band-Aid disguised as a solution," Rubio said in a statement.
The US government has been operating under CRs in recent years, with lawmakers in stalemate over the budget.
But with the Democratic-held Senate introducing a budget plan for the first time in four years, a contentious fiscal debate has begun, with political rivals clashing over their spending vision for the next decade.
The House this week is expected to pass a 2014 budget resolution put forward by Congressman Paul Ryan, last year's failed GOP vice presidential nominee, that slashes federal spending, reforms entitlements and insists on no new taxes.
Senate Democrats are pushing for what they describe as a balanced approach to deficit reduction, including targeted spending cuts and new tax revenue to help slash the $16tn national debt.
Ryan has argued his budget will balance within 10 years, while he and fellow Republicans blasted the Democratic plan as a tax-and-spend pipe dream that would not eliminate annual deficits.
"The Senate Democrat budget wouldn't balance, ever. Not in 2013. Not in 2023. Not in 3023," McConnell said Wednesday.