 At the beginning of the 17th century, "Defterdar" (treasury minister) Ekmekçizade Ahmet Paşa (d. 1618) let build a Medrese, the gates of the complex, a "zaviye", and a mekteb (school).About one century later "Hekimbaşı" (Sultan's chief physician) Giridli Nuh Efendi (d. 1707) closed the Tekke and enlarged the Medrese, while in 1737 "Kızlar Ağası" Hacı Beşir Ağa erected in the yard a column-shaped fountain.The earthquake of 1766 destroyed the dome of the building