decided to return territorial demarcation to Shah Rukh's times. Thus, Khurasan, Mazandaran and Jurjan were returned to the Timurids and Abu Sa'id Mirza returned and took Herat a second time on December 22, 1458. Conflict with Abu Sa'id Mirza Husayn Bayqara had now mustered a force of 1,000 men and took Jurjan on October 19, 1458 from the Kara Koyunlu. Abu Sa'id Mirza invaded Jurjan, which Husayn Bayqara hastily abandoned and fled towards Khwarazm again. Abu Sa'id Mirza appointed his son, Sultan Mahmud Mirza as Jurjan's governor. When Husayn Bayqara learned that Abu Sa'id Mirza had left Herat to crush the rebellion of his relative Muhammad Juki, he attacked Jurjan again and at the Battle of Jauzi Wali in May 1461, he defeated Sultan Mahmud Mirza and appointed Abdal-Rahman Arghun the territory's governor. However, he could not follow up this victory when he besieged Herat from August–October 1461. Abu Sa'id Mirza returned and Husayn Bayqara again fled towards Khwarazm, from where he began making pillaging raids into Khurasan; these raids were conducted in earnest starting in 1464. Seeking to protect himself against Abu Sa'id, he requested the help of the Uzbeks. But that help never came since Abul-Khayr Khan, the Uzbek leader died in 1468. This period of 8 to 10 years was the worst in Husayn Bayqara's life. He wandered from one place to the next at times in dire straits. Becoming ruler of Khurasan When Abu Sa'id Mirza went to war against the Aq Qoyunlu, he was defeated at the Battle of Qarabagh and captured. The leader of the Aq Qoyunlu, Uzun Hasan handed him over to the 19-year-old Timurid Yadgar Muhammad Mirza, who had him executed. Upon Abu Sa'ids death, the Timurid Empire collapsed. Taking advantage of Abu Sa'id Mirza's absence, Husayn Bayqara had again entered Khurasan and besieged Herat which he finally captured on March 24, 1469. Thus he became the ruler of Khurasan. The sons of the late Abu Sa'id Mirza attempted to march against him, but turned back when they learned that not only had Husayn Bayqara consolidated his control over the city, but the defeated army of their father had joined him. Conflict with Aq Qoyunlu and Yadgar Muhammad Mirza Meanwhile, Uzun Hasan sent his protege, Yadgar Muhammad Mirza, to conquer Khurasan. Husayn defeated Yadgar at the Battle of Chenaran on September 15, 1469, but the latter was sent reinforcements. Uzun Hasan demanded