When El-Muizz came to
Egypt
, he made it the capital of the Caliphate . Then , he extended his authority to Syria , Hijaz and Yemen on the East , while the
Fatimid
authority extended to the Atlantic Ocean on the West . Egypt was separated from Baghdad , which was the capital during the
Abbassid
Dynasty .
The weakness of the Abbassid Dynasty led to the foundation of the great Fatimid Dynasty . Moreover , the Alides helped the
Fatimids
in getting rid of the Abbasids and they made good relations with the former in order to participate in their government .