 The city remained downtrodden and more or less uninhabited for centuries afterward.Cairo was established by the fourth Fatimid caliph al-Muʿizz in 359 AH/970 CE and remained the capital of the Fatimid caliphate for the duration of the dynasty.Cairo can thus be considered the capital of Fatimid cultural production.