By the end of the 2007, a Congress controlled by Democrats for the first time since 1994 had an approval rating of only 25 percent, down from 40 percent last spring. Then the debate over the war split the party and cast shadows over other issues, spawning a series of legislative failures and losing confrontations with President Bush.
What to do about Iraq has turned into a dissing match so far-reaching and nasty that Congress's accomplishments are seen, even by some who run it, through the lens of their failure to override Bush and start bringing the troops home.
"There is no question that the war in Iraq has eclipsed much of what we have done," House Speaker Nancy Pelosi told reporters. "If you asked me in a phone call, as ardent a Democrat as I am, I would disapprove of Congress as well."
It's not as if the new Democrat-controlled Congress did nothing during 2007.
It gave the nation's lowest paid workers their first raise in a decade, raising the minimum wage from $5.15 to $5.85 an hour in July. It will rise to $7.25 an hour in 2009.
Congress also cut in half the interest rates on federal student loans and boosted annual Pell grants for post high-school education by $260 to $4,310 in July, rising to $5,400 for the 2012-2013 school year. Bush signed the bill after initially threatening to veto it.
And just before Congress turned out the lights for the year on Dec. 19, Bush signed into law a sweeping new energy policy that requires automakers to achieve an industrywide average fuel efficiency for cars, SUVs and small trucks of 35 miles per gallon by 2020, a 40 percent jump. Some analysts said the new law will render gas guzzlers relics of the past and make farmers rivals of oil companies in producing motor fuels.
"All of us deserve credit for getting some things done," Bush said in his year-end news conference, insisting that he doesn't keep score.
But on the eve of an election year with the presidency and control of Congress at stake, many others do.
In the year's firmest push-back against the Bush administration, Congress for the first time overrode one of Bush's vetoes, on a $23 billion bill for restoring hurricane-ravaged wetlands along the Gulf Coast and other water projects. The president had protested it was filled with unnecessary projects, but 34 Senate Republicans defied him.
Democrats scored other political victories as well. Most significantly, a Democrat-led investigation revealed a troubled Justice Department and forced Alberto Gonzales, a longtime presidential friend, from the attorney general's office. Democrats also played a big role in selecting his successor, Michael Mukasey.
But the story of Congress in 2007 is more about what it failed to accomplish during a war that the public opposes and that Democrats had vowed
- but did not - to end.
On that, they found themselves repeatedly outmaneuvered, unable to break bill-killing GOP filibusters with 60 votes in a Senate where Democrats held only what effectively is a 51-49 majority.