In 750, following the overthrow of the Umayyad caliphate by the Abbasids, the new rulers created their own settlement to the northeast of Fustat which became their capital. This was known as al-Askar (the city of sections, or cantonments) as it was laid out like a military camp.