were released on the orders of rebellious wali of Damascus, Sheykh Mahmud. Qara Yusuf, having returned from exile, forced Timur's governor of Van, Izzaddin Shir, to submit, while capturing Altamış, another viceroy set up by Timur, and sending him to Barquq. He later moved on to the territories of Azerbaijan. He defeated the Timurid Abu Bakr at the Battle of Nakhchivan on 14 October 1406 and reoccupied Tabriz. Abu Bakr and his father Miran Shah tried to recapture Azerbaijan, but on 20 April 1408, Qara Yusuf inflicted a decisive defeat on them at the Battle of Sardrud in which Miran Shah was killed. In 1409 fall, Qara Yusuf entered Tabriz and sent a raiding party to Shirvan, especially Shaki, which was fruitless. In 1410, the Qara Qoyunlu captured Baghdad. The installation of a subsidiary Qara Qoyunlu line there hastened the downfall of the Jalairids they had once served. Despite internal fighting among Qara Yusuf's descendants after his death in 1420, The Qara Qoyunlu state collapsed after Qara Yusif. After the death of Qara Yusuf in December 1420, Shah Rukh tried to take Azerbaijan from Qara Yusuf's son Iskander, using the fact that none of his sons was accompanying his father. Despite defeating Iskander, twice in 1420–21 and 1429, only in the third expedition of Shahrukh Mirza in 1434–35 did the Timurids succeed, when he entrusted the government to Iskander's own brother, Jahan Shah (1436-1467) as his vassal. In 1436 he obtained the help of Shah Rukh to defeat Iskander and seize the throne for himself. He was also adopted by Gawhar Shad and crowned on 19 April 1438, taking the epithet Muzaffar al-Din. Due to the mistakes of his predecessor, the Timurid Shah Rukh, was the first to convene a party in the palace. They brought the Timurids to the capital. But he went to war with his enemies, the Aq Qoyunlular. Jahanshah Haqiqi died in the battle of Mus. Qara Qoyunlu was almost destroyed. This time Hasanali Mirza came to power, but was killed by Uzun Hasan and the Qara Qoyunlu state collapsed. Decline In 1410, Armenia fell under the control of the Qara Qoyunlu. The principal Armenian sources available in this period come from the historian Tovma Metsopetsi and several colophons to contemporary manuscripts. According to Tovma, although the Qara Qoyunlu levied heavy taxes against the Armenians, the early years of their rule were relatively peaceful and some