Badr al-Hammami mentioned by al-Tabari. This success was soon followed by the decisive victory of the Abbasid army at the Battle of Hama in November, which led to the capture and execution of Husayn and the senior Qarmatian leaders. In autumn 904, the Abbasids under Muhammad ibn Sulayman al-Katib launched a campaign to recover Egypt and end the Tulunid regime. When Muhammad arrived at the borders of Egypt in November, Badr went over to him. The defection of the most senior commander was soon followed by other Tulunid officers, and when Harun ibn Khumarawayh was killed by one of his own men,
Battle of Hab was able to recapture some of the places lost." Strategically, it was a Christian victory which preserved the Principality of Antioch for several generations. The next major engagement in the area was the Battle of Azaz in 1125. Battle of Hab In the Battle of Hab () on August 14, 1119, a Crusader army commanded by King Baldwin II of Jerusalem won a disputed victory over a Muslim army led by Ilghazi of Mardin since the Muslim army claimed it as a victory. The battle stabilized the Principality of Antioch, which had suffered a disastrous defeat only weeks before. Baldwin