The U.S.Iraq Status of Forces Agreement (official name: Agreement Between the United States of America and the Republic of Iraq On the Withdrawal of United States Forces from Iraq and the Organization of Their Activities during Their Temporary Presence in Iraq) was a status of forces agreement (SOFA) between Iraq and the United States, signed by President George W. Bush in 2008. It established that U.S. combat forces would withdraw from Iraqi cities by June 30, 2009, and all U.S. combat forces will be completely out of Iraq by December 31, 2011.
https://en.m.wikipedia.org/wiki/U.S.Iraq_Status_of_Forces_Agreement
Obama failed to fix Iraq but it was Bush who broke it. Bush was also the one who signed the agreement setting the withdrawl date.