In 1227/625 AH, the thirty-seventh Abbasid Caliph al-Mustansir Billah (r. 1226-1242) commissioned the construction of al-Madrasa al-Mustansiriyya, a theological school in the capital city of Baghdad named in his honor. Construction lasted for six years and the school opened in 1234/631 AH.

more at the source https://archnet.org/sites/3836