After Yunus Khan's death his territories were divided by his sons. Ahmad Alaq (1487–1503), who ruled eastern Moghulistan from Turfan, fought a series of successful wars against the Oirats, raided Chinese territory and attempted to seize the western Tarim Basin from the Dughlats, although he was ultimately unsuccessful. In 1503 he traveled west to assist his brother Mahmud Khan (1487–1508), the ruler of western Moghulistan in Tashkent, against the Uzbeks under Muhammad Shaybani. The brothers were defeated and captured; they were released but Tashkent was seized by the Uzbeks. Ahmad Alaq died soon after and was succeeded by his son Mansur Khan (1503–1545), who captured Hami from Kara Del, a Mongol dependency of Ming China, in 1513. Mahmud Khan spent several years trying to regain his authority in Moghulistan; he eventually gave up and submitted to Muhammad Shaybani, who executed him. The rest of western Moghulistan were gradually lost to Kyrgyz migrants, becoming modern Kyrgyzstan.