BAGHDAD — The scars of battle remain deeply etched into the geography of Iraq’s second-largest city, Mosul, with thousands of homes, buildings and places of worship destroyed during the nine-month fight to oust the Islamic State.

But now, thanks to a donation of $50 million from the United Arab Emirates, one of the ancient city’s most renowned landmarks will rise from the rubble: Al Nuri Grand Mosque and its storied minaret.

The announcement this week of a five-year plan to rebuild Mosul’s centuries-old religious complex represents the largest cultural restoration project in Iraq, according to United Nations officials overseeing the project.

Noura al-Kaabi, the U.A.E. culture minister, said her nation’s involvement was intended to help Iraqi scholars and cultural leaders restore Mosul’s cosmopolitan heritage as a place of learning, culture and diversity, and not only help repair its roads, schools and hospitals.