 Ibn Habib then decided to revolt against the Abbasids and dropped the name of the Abbasid caliph from the Friday prayers, publicly burnt the official robes of state dispatched by the Abbasids and invited the fleeing members of the Umayyad clan to take refuge in his dominions.Among his guests was the Umayyad prince, Abd al-Rahman ibn Mu’awiya ibn Hisham, a grandson of Caliph Hisham.Two other notables, sons of the caliph Walid II, were appointed to high posts, one of them made "qadi" of Kairouan.