Zirid dynasty
A member of the Berber Zirid dynasty, Badis ibn Habus succeeded to the throne of the Taifa of Granada upon the death of his father, Habbus al-Muzaffar, in spite of a conspiracy on the part of the Granada court that supported his cousin Yaddair ben Hubasa as a successor to Habbus. The plot failed, however, thanks to Habbus's vizier, the Jew, Samuel ibn Naghrillah, who made certain that Badis succeeded Habbus, thus reinforcing his own position in the kingdom.