Influenced by European architectural styles, the mosque was constructed in two parts, by members of the powerful Çapanoglu fanmily: the first part was constructed by Çapanoglu Mustafa Ahmed Pasha in 1779, and the second in 1794/95 by his brother Süleyman.