葉爾羌汗國
In 1680, Galdan led 120,000 Dzungars into the Yarkent Khanate. They were aided by the Aq Taghliqs and Hami and Turpan, which had already submitted to the Dzungars. Ismail's son Babak Sultan died in the resistance against in the battle for Kashgar. The general Iwaz Beg died in the defense of Yarkand. The Dzungars defeated the Moghul forces without much difficulty and took Ismail and his family prisoner. Galdan installed Abd ar-Rashid Khan II, son of Babak, as puppet khan.