The boy first studied at a local madrasah under Mullah Ahmet Ryza. There is a functioning mosque next door to the madrasah. He designed a caravanserai in Eregli and an octagonal madrasah in Constantinople. Yusuf advised Mubarak to go to Agra and set up a madrasah there. A slightly horseshoe arched portal leads into a passage separating the mausoleum from the madrasah. Even a state-operated "madrasah" (school) often had French faculty members. In Gangoh, Zakariya was one of eighty students who studied in his father's madrasah. Education was improved by the institution of a system of madrasah. Consequently, for full functioning of madrasah only of classroom and some utility rooms is lacking. Noted and eminent teachers of the period taught in that Madrasah. He also studied religion at Unwanul Wustha Madrasah. The Nadir Divan-Beghi Madrasah was initially erected as a caravanserai. Al-Mustansir founded the Mustansiriya Madrasah. Aibak built a Madrasah in Cairo known by the name al-Madrasah al-Mu'izzyah. Azad, the Calcutta Madrasah was reopened.