سيف الدولة الحمداني
Al-Ikhshid reacted, and sent an army north under Abu al-Misk Kafur to confront Sayf al-Dawla, who was besieging Homs. In the ensuing battle, the Hamdanid scored a crushing victory. Homs then opened its gates, and Sayf al-Dawla set his sights on Damascus. Sayf al-Dawla briefly occupied the city in early 945, but was forced to abandon it in the face of the citizens' hostility. In April 945 al-Ikhshid himself led an army into Syria, although at the same time he also offered terms to Sayf al-Dawla, proposing to accept Hamdanid control over northern Syria and the "Thughur". Sayf al-Dawla rejected al-Ikhshid's proposals, but was defeated in battle in May/June and forced to retreat to Raqqa. The Egyptian army proceeded to raid the environs of Aleppo. Nevertheless, in October the two sides came to an agreement, broadly on the lines of al-Ikhshid's earlier proposal: the Egyptian ruler acknowledged Hamdanid control over northern Syria, and even consented to sending an annual tribute in exchange for Sayf al-Dawla's renunciation of all claims on Damascus. The pact was sealed by Sayf al-Dawla's marriage to a niece of al-Ikhshid, and Sayf al-Dawla's new domain received the—purely formal—sanction by the Caliph, who also re-affirmed his "laqab", soon thereafter.