Al-Nizamiyya of Baghdad (Arabic,المدرسة النظامية ), one of the first Islamic universities, was established in 1065. In July 1091, Nizam al-Mulk appointed the 33-year-old Al-Ghazali as a professor of the school. Offering free education, it has been described as the "largest university of the Medieval world". Ibn Tumart, founder of the Berber Almohad dynasty, reputedly attended the school and studied under al-Ghazali. Nizam al-Mulk's son-in-law Mughatil ibn Bakri was also employed by the university. In 1096, when al-Ghazali left the University, it housed 3000 students. In 1116, Muhammad al-Shahrastani taught at the University. In the 1170s, statesman Beha Ud-Din taught at the University, before he moved on to teach in Mosul. Persian poet...