The US may have stayed longer but the was a huge hang up:
The war pre-Obama
Despite the goals Obama met, most of the timetable for leaving Iraq was in place before he took office.
The prevailing document, the 2008 Status of Forces Agreement, was negotiated between the Bush administration and the Iraqi prime minister Nuri al-Maliki. ThatÂ’s what set the deadline of Dec. 31, 2011, for all U.S. troops to leave Iraq.
"He essentially implemented the plan that he inherited," said Chris Preble of the libertarian Cato Institute.
James Carafano, of the conservative Heritage Foundation, compared Obama taking credit to saying "because of Truman we were victorious in World War II, without mentioning Roosevelt."
Even when the deadline was set, news reports say, it was considered somewhat soft -- more a political symbol establishing IraqÂ’s sovereignty than a concrete date. The Obama administration held to that line and planned to keep several thousand troops in Iraq beyond 2011 as a "residual force."
Administration officials negotiated with Iraqis all year to amend the withdrawal plan. The breakdown: immunity for American troops in Iraqi courts. The Iraqi parliament refused to approve it, and American officials wouldnÂ’t leave U.S. forces in place without it.
"When the Americans asked for immunity, the Iraqi side answered that it was not possible," al-Maliki said in an October news conference. "The discussions over the number of trainers and the place of training stopped. Now that the issue of immunity was decided and that no immunity to be given, the withdrawal has started."
Ad says Obama is reason for Iraq pullout | PolitiFact
So, there we have it. It all boiled down to immunity for our troops from the Iraqi justice system. The Bush Administration, rightfully would not let our troops be subject to the Iraqi courts. Iraq was not to budge from that decision. That demand was unacceptable to Bush and Obama.
But go right ahead and let your partisanship warp historical facts.
Or, are you implying that the US accept Iraq's demand regarding US troops and waving immunity?