The UK's military operation in Iraq will officially end at midnight, the Ministry of Defence has confirmed.
It comes after the Royal Navy completed its training of Iraqi sailors, with the last personnel leaving the country on Friday.
While Operation Telic, the name for the UK mission in Iraq since 2003, will finish, a handful of staff will remain at the British embassy in Baghdad.
At its peak the operation involved some 46,000 personnel.
Most UK forces withdrew in July 2009 from Basra, their main base, but 81 Navy trainers remained at the port of Umm Qasr and there were three UK personnel based in Baghdad.
The completion of the mission on Sunday comes eight years after Britain became involved in invading Iraq to remove Saddam Hussein.
Defence Secretary Liam Fox paid tribute to the 179 British personnel who died since 2003 "fighting for security and stability in Iraq".
A total of 1,800 Iraqi personnel were trained on 50 different courses, including maritime, small arms, oil platform defence, and maintenance training, the Ministry of Defence said.
Britain is still involved in Nato's training mission in Iraq, with 44 UK military personnel still in the country.
Members of Iraqi Security Forces will continue to be trained at UK-based courses, such as the Royal Military Academy Sandhurst.
Defence Secretary Liam Fox said: "Royal Navy personnel have used their formidable skills and expertise to bring about a transformation in Iraq's naval force.
"The Iraqi navy has a key role to play in protecting Iraq's territorial waters and the oil infrastructure that is so vital to Iraq's economy, and I am proud of the role British forces have played in making it capable of doing that job."
As this 8 year mission draws to a close after a very bloody occupation. It highlights the fact that we were wrong to invade iraq it was quite clearly a illegal war but as usual AMerica and Britain make up their own rules t suit themselves.
If they had supported the over throw of Saddam Hussain just like what has happened in Egypt and Tunisia with their dictators so many lives may not have been lost on both sides.
Of course the world is safer now Saddam is gone but the price it came at was heavy and not just financially.
The Iraq war will have cost millions if not billions of pounds to fund.
Now the west has its oil safely secured they can leave it was clear it was always about oil as there were deals done at the time as we have later heard recently.
So i am glad the Iraq invasion is over but we must not forget how many have lost lives and lives ruined by bombings and american occupation.
Iraq has a government of sorts but there needs to be real working class representation there. The banning of trade unions in Iraq is quite worrying and must be opposed.
Today we remember all those who have lost thier lives in the conflict on both sides. Hope now there c an be peace between the different factions within Iraq. It will always be complicated there but hopefully with a working class lead movement things can begin to look better for ordinary Iraqi's.