Read the story
In the spring of 970, a Fatimid general named Jawhar al-Siqilli, the Sicilian, was building a capital almost from scratch. A year earlier he had conquered Egypt for his caliph, al-Mu'izz. The new city needed a great congregational mosque, and Jawhar ordered one built.
Work began that April. By June of 972, during Ramadan, the first Friday prayers filled the finished halls. The mosque's name, al-Azhar, is usually linked to az-Zahra, a title of Fatima, the daughter of Muhammad. The city got a name too: al-Mu'izz called it al-Qahira. Cairo.
Then the mosque became something more than a place to pray. In 988, the vizier Ya'qub ibn Killis turned al-Azhar into a center for teaching Islamic law, with a regular course of study and scholars on a permanent payroll. Classes met here and at the caliph's palace, with separate sessions for women.
But the Fatimids were Shi'a, and their dynasty did not last. In 1171 Saladin swept them aside and remade al-Azhar as a Sunni center of learning. His judge banned Friday prayer here. A silver band carrying the Fatimid caliphs' names was stripped from the prayer niche, and student stipends dried up. The great mosque went without its Friday congregation for roughly ninety-five years, until Sultan Baybars restored it in 1266.
From then on, each new power wrote itself into the skyline. In the Mamluk era, when an older minaret began to lean dangerously, Qaytbay raised a new one in its place. Qansuh al-Ghuri added a minaret with a twin crown, two shafts each topped with its own finial. In the eighteenth century, Abd al-Rahman Katkhuda nearly doubled the mosque and gave it new gates with pointed Ottoman-style minarets.
Today five minarets rise over al-Azhar, and its university is often described as one of the oldest still operating anywhere. Look up, and you are reading a thousand years of Cairo, one tower at a time.