 While Saladin was in Syria , his brother al @-@ Adil governed Egypt , and in 1174 – 75 , Kanz al @-@ Dawla of Aswan revolted against the Ayyubids with the intention of restoring Fatimid rule . His main backers were the local Bedouin tribes and the Nubians , but he also enjoyed the support of a multitude of other groups , including the Armenians . Coincidental or possibly in coordination , was an uprising by Abbas ibn Shadi who overran Qus along the Nile River in central Egypt . Both rebellions were crushed by al @-@ Adil . For the rest of that year and throughout early 1176 , Qaraqush continued his raids in western North Africa , bringing the Ayyubids into conflict with the Almohads who ruled the Maghreb . 
