The most famous and celebrated of all the nizamiyyah schools was Al-Nizamiyya of Baghdad (established 1065), where Khwaja Nizam al-Mulk appointed the distinguished philosopher and theologian, al-Ghazali, as a professor.