The Iraqi city of Ramadi, which was taken by Islamic State (IS) in May, has been "fully liberated", government officials said.
Brigadier General Yahya Rasool announced that government forces had retaken the capital of Anbar Province after a protracted siege.
However, General Ismail al-Mahlawi, head of military operations in Anbar, said that troops had only retaken a strategic government complex and that parts of the city still remained under IS control.
The Iraqi military launched a long-promised campaign to retake the city last week, but their progress had been hampered by snipers, booby traps and the destruction by IS militants of all bridges leading into the city.