The Treaty of Safar put a formal end to the extended collapse of the Hamdanid Dynasty. It was signed in December 969/January 970 between the Byzantine stratopedarches Petros and the former minister of the Hamdanids and rebel, Qarquya. Following the death of the Hamdanid emir Sayf al-Dawla in 967, rebellion quickly enveloped the Hamdanids and the dynasty disintegrated into chaos and disorder. The Byzantines saw this as an opportunity to finally take control of Aleppo. Petros soon approached Aleppo, probably without orders from Constantinople, and took the city in January 970.
