The battle was a comprehensive defeat for the Fatimids after their Bedouin allies switched sides, resulting in the capture of Ibn Hamdan and most of his commanders.
As a result of the battle, Aleppo surrendered to Mahmud ibn Nasr, ending direct Fatimid rule over the city for good.
[2][3] After defeating Fatimid attacks against him in 1048 an 1050, Emir Mu'izz al-Dawla Thimal (r. 1042–1057, 1061–1062) managed to receive recognition from both Cairo and Constantinople, paying tribute to both.
[4][5] As his rule became increasingly contested by his fellow Kilabi tribesmen,[6] in January 1057 Thimal agreed to hand over Aleppo to a Fatimid governor, Ibn Mulhim, in exchange for the port cities of Byblos, Beirut, and Acre.
[6] At the same time, the Kilab decided to support Mahmud, a nephew of Thimal and son of the former emir Shibl al-Dawla Nasr (r. 1029–1038), as their candidate for recovering control of Aleppo itself.
Along with his cousin, Mani ibn Muqallad, Mahmud launched an attack on the city in June 1060, but after seven days of fruitless combat, he was forced to retreat.
When the Fatimid governor refused, the ahdath rose in revolt in July and opened the gates of the city to Mahmud, while Ibn Mulhim sought refuge in the Citadel of Aleppo.
The governor of Damascus, Nasir al-Dawla Abu Ali al-Husayn—son of the Fatimid commander who had led the failed attack in 1048[11]—was tasked with suppressing the revolt.
[14] Already on the next day, Atiyya, who had not taken part in the battle, appeared at Aleppo and received the surrender of the lower city by Ibn Mulhim, who once again withdrew to the citadel.