Battle of Qarabagh

The Battle of Qarabagh was fought on February 4, 1469, between Aq Qoyunlu under Uzun Hasan, and the Timurids of Samarkand under Abu Sa'id Mirza, resulting in the latter's defeat, imprisonment and execution.

During Jahan Shah's reign the Kara Koyunlu's territory reached its largest extent, including huge swaths of land in Anatolia, most of present-day Iraq, central Iran, and even eventually Kerman.

After Jahan Shah had taken Herat he was in a tough position and unable to keep it due to pressures from within his kingdom of Kara Koyunlu plus the increasing threat from Uzun Hasan of Aq Qoyunlu.

[1] As he pushed on towards Ardebil and Tabriz among the hills Azerbaijan, Uzun Hassan alarmed at his progress sent repeated embassies to sue for peace but in vain as Abu Sa'id Mirza demanded that the Turkoman should appear in his presence and humble himself before the descendant of Timur.

[1] Uzun Hassan refused to submit and being driven to extremity betook himself to the hills and fastnesses in which the country abounds and endlessly employed his troops in harassing and cutting off the supplies of the Timurids whom he prudently avoided meeting in the field.

For 14 days the royal horses had no barley and as a result the soldiers and officers began to desert in large numbers, alarming Abu Sa'id Mirza.

[9][7] Later in 1469, Uzun Hasan had Yadgar Muhammad Mirza proclaimed as Abu Sa'id's successor and provided him with forces so that he could take over Khurasan, which was then controlled by Sultan Husayn Bayqara.

Power in Khurasan, with Herat as its capital, went to Sultan Husayn Bayqara; whereas Transoxania was divided among the four sons of Abu Sa'id Mirza, namely; The rulers of these provinces were often at war with each other.