Berber Revolt tax-collectors finally broke Berber patience. It is reported that following Ubayd Allah ibn al-Habhab's instructions to extract more revenues from the Berbers, Omar ibn al-Moradi, his deputy governor in Tangiers, decided to declare the Berbers in his jurisdiction a 'conquered people' and consequently set about seizing Berber property and enslaving persons, as per the rules of conquest, the 'caliphal fifth' was still owed to the Umayyad state (alternative accounts report he simply doubled their tribute). This was the last straw. Inspired by the Sufrite preachers, the North African Berber tribes of western Morocco - initially, the Ghomara, Berghwata and Miknasa
Berber Revolt and al-Andalus (Spain and Portugal) from falling into rebel hands. But the rest of the Maghreb was never recovered. After failing to capture the Umayyad provincial capital of Kairouan, the Berber rebel armies dissolved, and the western Maghreb fragmented into a series of small Berber statelets, ruled by tribal chieftains and Kharijite imams. The Berber revolt was probably the largest military setback in the reign of Caliph Hisham. From it, emerged some of the first Muslim states outside the Caliphate. It is sometimes also regarded as the beginning of Moroccan independence, as Morocco would never again come under the rule