أبو يزيد
Abu Yazid attacked the camp on the morning of 5 June, and was only thrown back with great difficulty. According to an eyewitness account, al-Mansur played a leading role in repelling the attack, his ceremonial parasol conspicuously displayed and serving as a rallying point, but it is possible that his role has been embellished for legitimization purposes. The two armies remained entrenched around Kairouan for the next two months, engaging in frequent clashes. Abu Yazid tried several times to take the city gates by assault, but al-Mansur had established smaller fortified camps to protect them. Abu Yazid tried to force the Fatimids to withdraw by sending his son to raid the environs of al-Mahdiya, where many of the Kutama had settled their families; but although al-Mansur sent some troops to shield them, he refused to move his main army.