Iraq’s parliament has approved the security pact with the United States which will see American troops pull out of the country by 2011.
The pact was passed by three-quarters of the members of parliament present.
Radical Iraqi sheikh Moqtada al-Sadr is vehemently opposed to a new mandate for US troops in Iraq. His supporters have rallied in the streets and staged noisy protests in parliament.
Under the new agreement US forces will withdraw from all Iraqi towns by the middle of next year, before a full pull-out in three years time.
US contractors will also now be subject to Iraqi law and able to be tried in the Iraqi courts.
The US will also lose the right to hold prisoners without charge. Anyone in American custody at the end of the year will have to be freed.
All US military bases are to be turned over to the Iraqis when the troops leave.