[1] At the outset of his reign he faced a revolt by the Zenata Berbers, who threatened the Zirid domains from Tiaret to Tripoli.
By 1001, Badis had secured his position with a convincing victory over the Zenata, their allies the Maghrawa, and Zawi ibn Ziri.
[1] This success was largely due to another great-uncle, Hammad ibn Buluggin, who defeated another Zenatan attack in 1004/5, and in 1007/8 established the castle of Qal'a.
On 17 October, Badis won a great victory over Hammad at Chelif, but was unable to take Qal'a, being forced to lay siege to the fortress instead.
[1] His sister, Saïda bint Mansour, was appointed regent of his son as he ascended the throne a minor.