الجامع الأزهر
In 1798, Napoleon led the French army into Egypt, swiftly conquering Alexandria and Cairo. However, in October of that year, discontent against the French led to an uprising by the people of Cairo. While Bonaparte was in Old Cairo, the city's population began spreading weapons around to one another and fortifying strongpoints, especially at the Al-Azhar Mosque. A French commander, Dominique Dupuy, was killed by the revolting Cairenes, as well as Bonaparte's Aide-de-camp, Joseph Sulkowski. Excited by the sheikhs and imams, the local citizens swore by the Prophet to exterminate all and any Frenchman they met, and all Frenchmen they encountered – at home or in the streets – were mercilessly slaughtered. Crowds rallied at the city gates to keep out Bonaparte, who was repulsed and forced to take a detour to get in via the Boulaq gate.