As Habib is held captive at the hands of Asim's army, he succeeds in leading a rebellion against Asim with the help of Ziyad and Amrus and kills him.