In 1227 CE, the thirty-seventh Abbasid Caliph al-Mustansir Billah (reigned 1226-1242 CE) commissioned the construction of Al-Mustansiriyya madrasa in the capital city of Baghdad named in his honour. Construction lasted for six years and the school opened