 The mosque was built in 1461 by Zagan Pasha (fl.1446–1462 or 1469), an Ottoman military commander and Grand Vizier of Albanian origin.Located in the city center, at Mustafa Fakıh neighborhood, it is part of a complex consisting of a tomb and a hammam.