 Al-Manṣūriyya was established between 334 and 336 AH (945 and 948 CE) by the third Fatimid caliph al-Manṣūr (334-41 AH/946-53 CE) in a settlement known as Ṣabra, located on the outskirts of Kairouan in modern-day Tunisia.The new capital was established in commemoration of the victory of al-Manṣūr over the Khārijite rebel Abū Yazīd at Ṣabra.Like Baghdad, the plan of the city of Al-Manṣūriyya is round, with the caliphal palace at its center.