Original sentence: After Ali ibn Umar (Ali II) came to power, the tribes of Madyuna, Gayatha and Miknasa, which were Sufrite Kharijites, formed a common front against the Idrisid and defeated Ali's armies and occupied Fes
Edited sentence: After Ali ibn Umar (Ali II) came to power, the Berber tribes of Madyuna, Gayatha and Miknasa, which were Sufrite Kharijites, formed a common front against the Idrisid and defeated Ali's armies and occupied Fes