'', 1237 edition (BNF Arabe 5847).|left Al-Mustansir was born in Baghdad on 1192. He was the son of Abu Nasr Muhammad (future caliph al-Zahir). His mother was a Turkish
Umm walad. called Zahra. His full name was
Mansur ibn Muhammad al-Zahir and his
Kunya was
Abu Jaʿfar. At the time of his birth, his father was a prince. When his father ascended to the throne in 1225. His father, lowered the taxes of Iraq, and built a strong army to resist invasions. He died on 10 July 1226, nine months after his accession. On his father's death in 1226 he has succeeded his father
Az-Zahir as the thirty-sixth
Abbasid caliph in
Baghdad. Al-Mustansir is particularly known for establishing the
Mustansiriyya Madrasa (currently a part of the
Al-Mustansiriya University) in 1227/32/34. The Madrasa, at the time, taught many subjects including medicine, mathematics, literature, grammar and Islamic religious studies, becoming a prominent and high-ranking center for Islamic studies in Baghdad. The
Madrasas during the Abbasid period were used as the predominant instrument to foster the spread of Islamic thought as well as a way to extend the founder's pious ideals.The ruler of Erbil,
Muzaffar ad-Din Gökböri was being without a male heir, Gökböri willed
Erbil to the Abbasid caliph al-Mustansir. After the death of Gökböri in 1233, the Erbil city came under Abbasid control. Al-Mustansir died on 5 December 1242. His son
Al-Musta'sim succeeded him as the thirty-seventh and last Caliph of the Abbasid Caliphate. ==Family==