Hammadid–Zirid War

Hammadid–Zirid War
Date1014–1018
Location
Result

Inconclusive

  • Truce between Hammad and Al-Mu'izz
  • dismemberment of the Zīrid domains
Belligerents
Hammadid dynasty

Zirid dynasty

Commanders and leaders

The Hammadid–Zirid War was the first in a series of conflicts between Hammadid and Zirid forces. It lasted from Hammad's removal of allegiance to the Fatimid Caliph and his submission to the Abbasids in 1014 until the recognition of Hammadid independence with the treaty between the two dynasties in early 1018. The war was primarily driven by Zirid Emir Badis's attempts to assert his authority over Hammad's domains, while Hammad sought to keep Zirid rule and authority out of Central Maghreb.

Hammad, a long-serving lieutenant of the Zirid emirs, had successfully divided the Zenata tribes and prevented them from establishing a foothold in Central Maghreb. For his victorious campaigns in the west, Hammad was granted overlordship over the city of Achir as well as the Central Maghreb and was permitted to build a fortified city that would serve as his base of operations. However, this greatly elevated his status, igniting feelings of envy and jealousy among his enemies, who began to slander him and incite Badis against him.