Influenced by European architectural styles, the mosque was constructed in two parts, by members of the Çapanoglu family: the first part was constructed by Çapanoğlu Mustafa Ahmed Pasha in 1779, and the second in 1794/95 by his brother Süleyman.[2][3]