Sufi Khalil Beg Mawsilu

He put Ya'qub's eldest son Baysunghur (who was then nine-years-old) on the throne, ruling as the virtual ruler of the realm until he was defeated and killed by his rival, Sulayman Beg Bijan.

[5] It was following this event that Sufi Khalil became a prominent figure under Ya'qub, and was soon appointed the tutor of the latter's eldest son Baysunghur, as well as given the governorship of the southern Iranian province of Fars.

[8] At the time of the death of Ya'qub in 1490, Sufi Khalil found himself in a favourable position as the head of the political and military preponderance in the winter quarters of Qarabagh.

A bloody battle subsequently ensured in the royal camp, which led to the elimination of the Bayandur princes and officers, including Ya'qub's brother Masih Mirza.

Ya'qub's nephew Rustam Beg Bayandur was captured and imprisoned in the Alinjaq castle near the city of Nakhjavan, while Mahmud ibn Ughurlu Muhammad managed to escape to the province of Arabian Iraq, which was under Purnak control.

[12] Qazi Isa's nephew Najm al-Din Mas'ud Savaji managed to escape for a short while, until he was poisoned by Mulla Jan at the instigation of Sufi Khalil.

In the city of Hamadan, Shah-Ali Beg Purnak, who had served as the governor of Arabian Iraq for a long time under Ya'qub, declared the Aq Qoyunlu prince Mahmud ibn Ughurlu Muhammad as sultan.

[16] Sufi Khalil was also opposed by Sulayman Beg Bijan in Diyar Bakr, a long-time rival of his, who was the guardian, father-in-law, and former chief of staff of Ya'qub.

Map of the Aq Qoyunlu realm under Uzun Hasan ( r. 1453–1478 ) in 1478
Gold coin of Baysunghur , Tabriz mint