(CNN) -- Sen. Barack Obama blasted Congress for not passing a financial rescue package Monday, while Sen. John McCain's campaign accused Obama and Democrats of putting "politics ahead of country."



The House of Representatives rejected a $700 billion plan to bail out the financial system, putting a roadblock in front of the largest government intervention in the market since the Great Depression.



The bill failed by a vote of 205 to 228, with 140 Democrats and 65 Republicans voting in favor and 95 Democrats joining 133 Republicans against.



"This is a moment of national crisis, and today's inaction in Congress as well as the angry and hyper-partisan statement released by the McCain campaign are exactly why the American people are disgusted with Washington," the Obama-Biden campaign said in a statement released shortly after the vote.



The statement went on to say that every American "should be outraged that an era of greed and irresponsibility on Wall Street and Washington has led us to this point."  Watch more on the vote »



Also after the vote, McCain touted his role in last week's negotiations on the bailout bill.



"I laid out principles" including "responsible oversight," transparency and a cap on so-called golden parachutes --the big bonuses Wall Street CEOs would receive despite their involvement in the economic crisis, he said from Des Moines, Iowa. "I worked hard to play a constructive role."



He said he was satisfied with the way the bill was written, though "it wasn't perfect."



Earlier, McCain's campaign accused Obama and Democrats of injecting politics into the American economy.



"From the minute John McCain suspended his campaign and arrived in Washington to address this crisis, he was attacked by the Democratic leadership: Sens. Obama and [Senate Majority Leader Harry] Reid, Speaker Pelosi and others.



"Their partisan attacks were an effort to gain political advantage during a national economic crisis. By doing so, they put at risk the homes, livelihoods and savings of millions of American families," Doug Holtz-Eakin, a senior policy adviser for McCain and his running mate, Alaska Gov. Sarah Palin, said in a statement.



"Barack Obama failed to lead, phoned it in, attacked John McCain and refused to even say if he supported the final bill. ... This bill failed because Barack Obama and the Democrats put politics ahead of country," Holtz-Eakin said.



Republicans and Democrats blamed each other for the failure of the bill, which President Bush had urged Congress to approve.



Obama had earlier Monday spoken with Treasury Secretary Henry Paulson, Speaker of the House Nancy Pelosi and congressional leaders.  Watch Pelosi say Democrats 'delivered' »



McCain and Obama had both said Sunday that they would probably vote for the legislation, as long as it included some key principles they had pushed for.



McCain announced last week he was "suspending" his campaign events to focus on the financial crisis, but Democrats accused him of pulling a political stunt. iReport.com: Do you support a Wall Street bailout?



The economy has dominated the campaign trail this month, and both candidates have been trying to convince voters that they will do a better job of getting the financial crisis under control.



Earlier Monday, McCain told voters that Obama isn't being honest about his tax votes and said the Democrat is "always cheering for higher taxes." iReport.com: Share your stories from the campaign trail



In response, the Obama campaign called McCain's remarks "false attacks" and an "angry diatribe."



"Two times, on March 14, 2008, and June 4, 2008, in the Democratic budget resolution, he voted to raise taxes on people making just $42,000 per year. He even said at the time that this vote for higher taxes on the middle class was 'getting our nation's priorities back on track,' " McCain said at a rally in Columbus, Ohio.



"Then something amazing happened: On Friday night, he looked the American people in the eye and said it never happened. My friends
Who did Obama criticize? Who criticized Congress? What did Obama fail to do, according to McCain's campaign?
Congress Sen. lead,
question: Who did Obama criticize?, answer: Congress | question: Who criticized Congress?, answer: Sen. | question: What did Obama fail to do, according to McCain's campaign?, answer: lead,