then Ziyādat Allāh and al-Shīʿī clashed on more than one occasion, and al-Shīʿī carried the day each time. Abū al-ʿAbbās broke out of prison, only to be captured again (1).
As for Ziyādat Allāh, he lost all hope of holding the Maghrib and fled to Egypt.
Al-Shīʿī and his brother now advanced with a large force. They made for Sijilmāsa, whose governor al-Yasaʿ came out to confront them, but his army was routed in 296 AH. Al-Shīʿī released ʿUbayd Allāh and his son, seized the country, and the Maghrib lay open before him (2).
He then marched with forty thousand men, by land and sea, toward Egypt. He encamped at Labda, four stages from Alexandria (3). Takin al-Khāṣṣa (4) opened the Nile’s waters against them, so the flood stood between them and Egypt (5).
Al-Musabbihī (6) reports: “This was the engagement of Barqa; al-Manṣūr (7) surrendered the province and fled to Egypt.”
In that same year Ḥabbāsa al-Kutāmī advanced with a great army as the vanguard before the Mahdī’s son. He reached Giza but went astray at the ford; government troops sallied out and barred his way. The Nile was in full flood, so the Mahdī’s forces withdrew, ravaging and laying waste as they went (8).