By Khaled al-Ramahi and Stephen Kalin
MOSUL/ERBIL, Iraq (Reuters) - Iraqis prepared on Sunday to celebrate an expected victory over Islamic State in Mosul, just blocks away from battles raging in the last few districts where the militants are dug in.
Troops tied white banners and Iraqi flags to lamp posts and damaged buildings including the Hadba minaret, which the jihadists blew up in June along with the adjoining Grand al-Nuri Mosque, as air strikes and mortars rained down nearby.
It was from al-Nuri's pulpit that Islamic State leader Abu Bakr al-Baghdadi declared his caliphate three years ago.
Authorities are planning a week of nationwide celebrations, according to a government statement, and Prime Minister Haider al-Abadi is expected to visit Mosul to formally declare victory.
Mosul's fall would mark the effective end of the Iraqi half of the caliphate which Islamic State declared three years ago in parts of Iraq and Syria. The group still controls territory west and south of Mosul, where tens of thousands of civilians live.
Soldiers from the elite Counter-Terrorism Service (CTS) retook the Makawi district of Mosul's Old City on Sunday, a military statement said, a few blocks from the western banks of the Tigris. Reaching the river will give Iraqi forces control over the entire city and is expected by the end of this week.
A U.S.-led international coalition is providing air and ground support to the offensive, which Iraq's army and militarized police are also fighting in a multi-pronged attack.
Federal police chief Lieutenant General Raed Shakir Jawdat said his forces had completed their mission in southern parts of the Old City on Saturday and those areas still needed to be cleared of explosives and corpses from two weeks of fighting.
"Unfortunately until now there are families besieged and there are many discarded enemy corpses, and unfortunately many civilians have been martyred, so we must remove them," he told Reuters in western Mosul.
"The areas must be cleared of bombs. We must make the areas safe so that civilians can return."
Nearly nine months of grinding urban warfare have displaced 900,000 people, about half the city's pre-war population, and killed thousands, according to aid organizations.
Thousands of residents are believed to be trapped in the Old City with little food, water, medicine and no access to health services, according to those who managed to flee.
After CTS units captured the al-Nuri mosque complex on Thursday, Abadi declared the end of Islamic State's caliphate, which he called "a state of falsehood".
Baghdadi has left the fighting in Mosul to local commanders and is believed to be hiding on the Iraq-Syrian border, according to U.S. and Iraqi military sources.
The group has moved its remaining command and control structures to Mayadin, in eastern Syria, U.S. intelligence sources said last month, without indicating if Baghdadi was also hiding in the same area.
Baghdadi has often been reported killed or wounded. Russia said on June 17 its forces might have killed him in an air strike in Syria. But Washington says it has no information to corroborate such reports and Iraqi officials are also skeptical.
(Additional reporting by Maher Chmaytelli; Editing by Louise Ireland)