The Miknasa tribe and its leader Masala…
921 CE
The Miknasa tribe and its leader Masala ibn Habus, acting on behalf of their Fatimid allies, had attacked Fes in 917 and forced Yahya ibn Idris to recognize Fatimid suzerainty, before deposing him in 921.
The Berber Khariji tribes of Madyuna, Ghayata and Miknasa of the Fes region had formed a common front against the Idrisids in 868.
From their base in Sefrou, they had been able to defeat and kill the Idrisid Ali ibn Umar and occupy Fes.
His brother Yahya had been able to retake the city in 880 and establish himself as the new ruler.
The Idrisids have attacked the Kharijis of Barghawata and Sijilmasa, and the Sunnis of Nekor multiple times, but have never been able to include these territories in their state.