Three days afterwards Abu Sa'id Mirza was made over to Yadgar Muhammad Mirza, a great-grandson of Shah Rukh, who was an ally of Uzun Hasan.[7] Yadgar Muhammad Mirza had Abu Sa'id Mirza either beheaded[1] or poisoned[8] on the pretext that he had his great-grandmother Goharshad killed.[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.[9] The defeat of the Timurids was decisive.