I had no idea that this was what the whole shoe throwing deal was about.
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") is a status of forces agreement (SOFA) between Iraq and the United States. It establishes that U.S. combat forces will withdraw from Iraqi cities by June 30, 2009, and all U.S. forces will be completely out of Iraq by December 31, 2011, subject to possible further negotiations which could delay withdrawal and a referendum scheduled for mid-2009 in Iraq which may require U.S. forces to completely leave by the middle of 2010.<1><2> The pact requires criminal charges for holding prisoners over 24 hours, and requires a warrant for searches of homes and buildings that are not related to combat.<3> U.S. contractors working for U.S. forces will be subject to Iraqi criminal law, while contractors working for the State Department and other U.S. agencies may retain their immunity. If U.S. forces commit still undecided "major premeditated felonies" while off-duty and off-base, they will be subject to the still undecided procedures laid out by a joint U.S.-Iraq committee if the U.S. certifies the forces were off-duty.(snip)
U.S. President George W. Bush hailed the passing of the agreement between the two countries. "The Security Agreement addresses our presence, activities, and withdrawal from Iraq", Bush said. He continued that "two years ago, this day seemed unlikely - but the success of the surge and the courage of the Iraqi people set the conditions for these two agreements to be negotiated and approved by the Iraqi parliament."(snip)
On December 14, 2008, U.S. President George W. Bush signed the security pact with Iraq. In his fourth and final trip to Iraq, the president appeared with Iraq's prime minister and said more work is to be done. During the press conference discussing the signing of the pact with Prime Minister Nuri al-Maliki in his palace in the heavily fortified Green Zone, President Bush dodged two shoes thrown at him from the audience.
http://en.wikipedia.org/wiki/U.S.%E2%80%93Iraq_Status_of_Forces_Agreement