ズィール朝
The Zirid dynasty (972-1148) began their rule as agents of the Shi'a (909−1171), who had conquered Egypt in 969. After removing their capital to Cairo from Mahdiya in Ifriqiya, the Fatimids also withdrew from direct governance of al-Maghrib, which they delegated to a local vassal. Their Maghriban power, however, was not transferred to a loyal Kotama Berber, which tribe had provided crucial support to the Fatimids during their rise. Instead authority was given to a chief from among the Sanhaja Berber confederacy of the central Magrib, Buluggin ibn Ziri (died 984). His father Ziri had been a loyal follower and soldier of the Fatimids.