The complex which stands on the main street in Çarşıkapı district was built between 1707 and 1709 on Sadrazam (Grand Vizier, the government head) Çorlulu Ali Pasha’s order. The Madrasa within the complex was repaired in 1910 and 1965. Famous for the hookah place in its courtyard, the madrasa had become increasingly popular among students and tourists since the 1970s. It was renowned as a student location after 1980 as well.