However, once they had retaken control of Baghdad they quarreled, and Qara Yusuf expelled Sultan Ahmed Jalayir from the city.
In 1403 the Timurids defeated Qara Yusuf at the Battle of Algami Canal and drove him out of Baghdad again, also killing his brother Yar Ali[3] which made him to seek asylum in Damascus, which was then ruled by Mamluk Egypt.
Together in prison, the two leaders renewed their friendship, making an agreement that Sultan Ahmed Jalayir should keep Baghdad while Qara Yusuf would have Azerbaijan.
The same year, he marched to Anatolia and deposed Salih Şihabeddin Ahmed (thus ending the Mardin branch of the Artuqids in northern Mesopotamia),[3] who was then married to a daughter of Yusuf and sent to govern Mosul.
[10] Having firmly established as a ruler of Azerbaijan with Tabriz as his capital, Qara Yusuf fell foul of his former ally Sultan Ahmed Jalayir.
He was executed the next day passing Iraq into the hands of Qara Yusuf after Bistam Beg urged him.
The combined forces of Constantine I, Ibrahim and Syed Ahmed Orlat (lord of Shaki) were defeated on Battle of Chalagan, 1412.
[13] In October 1418, his son and nominal sultan Pirbudag died, which left Qara Yusuf in grief for days.
[14] According to Ghiyāth al-dīn Naqqāsh – Timurid envoy to Ming China, he also sent an emissary to Yongle Emperor around the same time.
According to Ahmad Faridun Bey's "Munshat-us-Salatin" Shahrukh's Fathnama ("term used to denote proclamations and letters announcing victories in battle or the successful conclusion of military campaigns" according to Encyclopædia Iranica[16]) sent to Mehmed I, right after Qara Yusuf's death his treasury was stolen by his nephews Qazan beg (Khwaja Misr's son) and Zeynal beg and taken to Avnik.
[17][failed verification] He was also married to Timur's great-granddaughter, a daughter of Abu Bakr, son of Miran Shah.