This included Khalilullah, who also married a daughter (Qara Yusuf's widow) of the Timurid prince Abu Bakr ibn Miran Shah.
[4] Khalilullah appealed to the Aq Qoyunlu ruler Uthman Beg (r. 1378–1435), who in response invaded Qara Qoyunlu-ruled Armenia, capturing the city of Erzurum in the spring of 1434.
[5] Between 1456 and 1459, the Safavid leader Shaykh Junayd made an alliance with the Aq Qoyunlu ruler Uzun Hasan (r. 1457–1478) by marrying his sister Khadija Begum.
[6][7] With the support of Uzun Hasan, Junayd made several incursions into northern Anatolia (Trebizond) and Circassia, but was killed in March 1460 by the forces of the Khalilullah during a battle near Tabarsaran.
[3] In 1500, following the Safavid conquest of Shirvan, the commander Khadem Beg Talish had the body of Khalilullah dug up, burned and publicly scattered.