Muhammad Ali Pasha (1769–1849) was an Ottoman Albanian military commander who came to Egypt in 1801 as part of the Ottoman force sent to expel Napoleon’s army. Through political acumen and military force he eliminated his rivals — including the Mamluk beys massacred in the Citadel in 1811 — and established himself as the hereditary ruler of Egypt under nominal Ottoman suzerainty. He initiated a program of modernization that transformed Egyptian agriculture, industry, and military capacity, establishing the dynasty that would rule Egypt until the 1952 Revolution.
The decision to build a mosque at the Citadel‘s highest point was both a religious statement and a political one — Muhammad Ali was positioning himself as the dominant ruler in Cairo, replacing the Mamluk elite whose fortification he now occupied. The mosque’s Ottoman imperial style, referencing the Istanbul imperial mosques, declared his cultural allegiance to Ottoman civilization while its location in Cairo’s most powerful fortress asserted his local authority.
The mosque’s architect, Yusuf Boshnak, was a Greek-born Ottoman who trained in Istanbul and brought the imperial mosque building tradition to Cairo. Construction proceeded between 1830 and 1848, with Muhammad Ali dying in 1849 before the final decoration was complete. His son Abbas I completed the work and the mosque was inaugurated in 1857.













