 In this breathing space, the Berber rebels got reorganized and undertook an internal coup.The Berber tribal leaders swiftly deposed (and executed) Maysara and elected the Zenata Berber chieftain, Khalid ibn Hamid al-Zanati as the new Berber "caliph".The reasons for Maysara's fall remain obscure.