The US Senate passed a $1 trillion spending bill and a two-month payroll tax cut holiday extension Saturday, setting up fresh congressional gridlock for the 2012 election year.
The compromise tax measure further dented President Barack Obama's authority by forcing him to revisit a contentious pipeline plan, and while the legislation passed easily, its short duration highlighted the inability of feuding lawmakers to bridge the divide on a more comprehensive deal.
The massive spending bill to avert a shutdown and fund the government through fiscal year 2012 was earlier approved by the House of Representatives and now goes to Obama's desk for his signature.
And the House could take up the tax cut measure on Monday, capping a frenetic period of maneuvering between the White House and its Republican foes.
Though Obama will achieve his goal of ensuring that US workers do not get a tax hike on January 1, the payroll tax cut and unemployment benefits extension will last only two months, not a year as he had originally sought.
Obama told reporters he was "pleased" with the deal, but made it clear he was expecting more.
"While this agreement is for two months... it would be inexcusable for Congress not to further extend this middle-class tax cut for the rest of the year" when they revisit the issue in early 2012, he said at the White House shortly after the Senate vote.
But Republican Senate Minority Leader Mitch McConnell said that "in order to achieve something around here, you have to compromise."
The deal thrusts the contentious Keystone XL pipeline, to carry oil from Canada's tar sands to the US Gulf Coast, back onto the political agenda.
Obama had put off a decision on the project, which pits environmentalists against labor unions and business interests in his political base, until after the November 2012 elections in which he is hoping to secure a second term. The move drew Republican howls.
Instead, the bill gives him just 60 days to review the pipeline project, a deadline Obama did not mention during his brief remarks.
"This bill will stop President Obama's delaying tactics," said Republican Senator Richard Lugar.
"It is absolutely incredible that President Obama wants to delay a decision until after the 2012 elections apparently in fear of offending a part of his political base."
The White House's apparent concession in agreeing to legislative language requiring Obama to ostensibly reconsider it within two months will enrage environmentalists who lean Democratic and campaigned against the project.
Republican Senator Kay Bailey Hutchison acknowledged "stark" differences between the parties over how to pay for the tax cut extension, with some lawmakers on both sides of the aisle furious that bill slashes inputs to the already-creaky Social Security system.
"We don't think that we should defund Social Security," Republican Senator Mark Kirk said alongside his Democratic colleague Joe Manchin. Both had voted against the measure.
Amid the bitter sniping between the two major parties, Representative Debbie Wasserman Schultz said her fellow Democrats in the House would back the payroll tax cut bill but that the pipeline amendment was a mistake by her rivals.
"The Republicans have probably killed the Keystone pipeline" by forcing the Obama administration into a review of two months rather than one year, she said.
Democratic Senate Majority leader Harry Reid said Americans "should know that we fought hard to make sure that they get their checks, and their deductions come January 1."
But Republicans crowed that they had forced Obama to take up the pipeline project, which they say will create 20,000 jobs, even after the president said he would reject any attempt to link it to the payroll tax holiday.
The agreement requires the State Department to issue a permit for the Keystone project within 60 days unless Obama certifies that it is not in the US national interest.
Such a finding would expose Obama to politically explosive Republican charges that he rejected the creation of 20,000 jobs at a time of high unemployment and in the middle of an election year.
Seeking to stimulate the sluggish recovery, Obama had asked Congress to extend a payroll tax holiday for a year to give workers a $1,500 tax cut next year.
Obama's Democratic allies had initially hoped to fund the project by imposing a tax on the country's wealthiest Americans who earn more than $1 million a year.
But they met stiff opposition from Republicans, who control the House, and had to abandon the plan.