 Tunis was raised to revolt by Orwa ibn ez-Zobeir es-Sadefi, Tabinas by Ibn Attaf el-Azdi, Béja was taken by the Sanhaja Berber rebel Thabit al-Sanhaji, and many more.Ibn Habib patiently and ruthlessly crushed the revolts one by one.The most serious threat came from Tripolitana, then governed by Ibn Habib's brother Ilyas ibn Habib al-Fihri.