Fatimid architecture in Egypt followed Tulunid techniques and used similar materials, but also developed those of their own. In Cairo, their first congregational mosque was al-Azhar mosque ("the splendid") founded along with the city (969–973), which, together with its adjacent institution of higher learning (al-Azhar University), became the spiritual center for Ismaili Shia. The Mosque of al-Hakim (r. 996–1013), an important example of Fatimid architecture and architectural decoration, played a critical role in Fatimid ceremonial and procession, which emphasized the religious and political role of the Fatimid caliph. Besides elaborate funerary monuments, other surviving Fatimid structures include the Aqmar Mosque (1125) and the Al-Hakim Mosque, as well as the monumental gates for Cairo's city walls commissioned by the powerful Fatimid emir and vizier Badr al-Jamali (r. 1073–1094).