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. Possibly the sudden cowardice shown before the Arab cavalry column proved him military unfit, possibly because the puritan Sufrite preachers found a flaw in the piety of his character, or maybe simply because the Zenata tribal chieftains, being closer to the Ifriqiyan frontline, felt they should be the ones leading the rebellion.