Iraq’s Prime Minister Haider al-Abadi has formally declared victory over the Islamic State of the Iraq and Levant (ISIL) in Mosul.

“I announce from here the end and the failure and the collapse of the terrorist state of falsehood and terrorism which the terrorist Daesh announced from Mosul,” Abadi said on Monday evening, using an Arabic acronym for Islamic State.

Abadi, wearing a black military uniform and flanked by commanders from the security forces, thanked troops and the US-led coalition that backed the offensive. But he warned that more challenges lay ahead.

“We have another mission ahead of us, to create stability, to build and clear Daesh cells and that requires an intelligence and security effort, and the unity which enabled us to fight Daesh,” he said before raising an Iraqi flag.