Ahmad ibn Tulun
A rebellion in 869 by Ahmad ibn Tulun led to the abandonment of Al Askar and the building of another settlement, which became the seat of government. This was al-Qatta'i ("the Quarters"), to the north of Fustat and closer to the river. Al Qatta'i was centred around a palace and ceremonial mosque, now known as the Mosque of ibn Tulun.