 Due to a plentiful water source, the city grew and expanded a great deal under al-Manṣūr.Recent archaeological evidence suggests that there were more than 300 ḥammāms built during this period in the city as well as numerous palaces.When al-Manṣūr's successor, al-Muʿizz, moved the caliphate to Cairo, his deputy stayed behind as regent of al-Manṣūriyya and usurped power for himself, marking the end of the Fatimid reign in al-Manṣūriyya and the beginning of the city's ruin (spurred on by a violent revolt).