Senior Muslim cleric Grand Ayatollah Nasser Makarem Shirazi has hailed the Iraqi forces for their victory against ISIS, saying the collapse of the terrorist group is a lesson to those daydreaming about Muslim countries’ disintegration.

Ayatollah Makarem Shirazi issued a statement on Tuesday, congratulating the Iraqi government over the recent recapture of the country’s strategic city of Mosul from the terrorists.

“The humiliating collapse of the self-proclaimed state of Daesh (ISIS) is a lesson to all of those who entertain evil thoughts about the Muslim world and mobilize mercenaries from around the world to disintegrate Islamic countries,” the cleric said.

He also underlined the important role that he Shia leadership has played in Iraq’s recent victories, saying the 2014 fatwa that invited Muslims to fight against ISIS changed the destiny of the terrorist group.

ISIS emerged in northern and western Iraq over the summer of 2014 and managed to recapture the strategic regions. It also captured swaths of northern Syria.

After three years of ruling over Mosul, ISIS was finally defeated on Thursday as Iraqi military forces captured the Mosul mosque at the heart of the northern city, in which the terrorist group declared its de facto capital.

 Iraqi Prime Minister Haider al-Abadi said the liberation of the mosque was “the declaration of the end of the statelet of Daesh.”