باب زويلة
In the 10th century the Fatimid Caliphate rose to power in Ifriqiya, where it built a new fortified capital at Mahdia. In 970 the Fatimids moving their center of power to Egypt and they founded another new capital, Cairo. Fatimid architecture in Egypt followed Tulunid techniques and used similar materials, but also developed those of their own. Their first congregational mosque in Cairo was al-Azhar Mosque, founded at the same time as the city (970), which became the spiritual center for the Ismaili Shi'a branch of Islam. Other notable monuments include the large Mosque of al-Hakim (founded in 990 under al-'Aziz but completed around 1013 under al-Hakim), the small Aqmar Mosque (1125) with its richly-decorated street façade, and the domed Mashhad of Sayyida Ruqayya (1133), notable for its "mihrab" of elaborately-carved stucco. Under the powerful vizier Badr al-Jamali (r. 1073–1094), the city walls were rebuilt in stone along with several monumental gates, three of which have survived to the present-day: Bab al-Futuh, Bab al-Nasr, and Bab Zuweila).