When Sultan Husayn Mirza Bayqarah learned that Abu Sa'id Mirza had left Herat to crush the rebellion of his relative Juki Mirza, 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.[1] He then besieged Herat from August–October, 1461.[1]