أبو يزيد
While al-Mansur was slowly building up his numerically inferior forces with contingents from the remote provinces of the Fatimid empire, Abu Yazid's support began to dwindle as his followers abandoned his camp; only the Hawwara and Banu Kamlan Berbers remained steadfastly loyal to him. With increasing confidence, al-Mansur marched his army out to provoke a pitched battle, but Abu Yazid refused. Finally, on 13 August the Fatimids stormed the rebel camp, and Abu Yazid with his troops broke and fled. The victory proved doubly fortuitous for al-Mansur: seeking support against the Fatimids, Abu Yazid had made contact with the Spanish Umayyads and recognized the suzerainty of Caliph Abd al-Rahman III. An Umayyad fleet had been dispatched to assist him, but when its commander heard news of the Fatimid victory at Kairouan, he turned back.