On January 7, 965, Qarghuyah was appointed governor of Aleppo by Sayf al-Dawla, who had by that point retreated to Martyropolis, moving against an advancing Byzantine army led by Nikephoros II Phokas.
[1][2] On October 29, 965, a rebel force led by the former secretary of Tarsus, Rashiq al-Nasimi, approached Aleppo while Sayf al-dawla was away from the city.
Around April 968, the same month the rebellion of Abu Firas failed, Qarghuyah convinced Sa'd al-Dawla to leave Aleppo.
[6][2] Qarghuyah appealed to the nearby Byzantine general, Petros, for aid, who was then besieging Antioch with Michael Bourtzes.
[2] Two years later, Sa'd al-Dawla returned to Aleppo after defeating Bakjur, whom he exiled to Homs, and restored Qarghuyah to his previous post as deputy.