Adud al-Dawla then returned to Baghdad, where he built and restored several buildings in the city. He also stopped the quarrel between the Daylamites and Turks of the Buyid army. In 980, the Byzantine rebel Bardas Skleros fled to Mayyafariqin. When he arrived, he sent his brother to Baghdad to offer his allegiance to Adud al-Dawla and make an alliance against the Byzantines, which Adud al-Dawla accepted. A Byzantine envoy from Constantinople shortly arrived in Baghdad and tried to persuade Adud al-Dawla to hand over the rebel, but he refused, keeping the rebel and some of his family members in Baghdad for the rest of his reign, thus strengthening his diplomatic position with the Byzantines. In 981, Adud al-Dawla sent Abu Bakr Baqillani to Constantinople to negotiate peace. However, he was most likely sent to spy on the Byzantines and how their military functioned, since Adud al-Dawla was planning to invade Byzantine territory.