Although there was initially conflict with the Zirids, in 1016 they were forced to conclude a ceasefire, and in 1018 they recognised the independence of the Hammadids.
Mimo że początkowo wybuchł konflikt z Zirydami, to w 1016 zostali oni zmuszeni do zakończenia go zawieszeniem broni i w 1018 uznali niezależność Hammadydów.