in Mahmud's absence, and forced him to flee to Ladakh. This marked the final separation of Moghulistan into two realms, with Said situated in Kashgar, and Mansur in Turpan, otherwise known as Uyghuristan. In 1529, Said attacked Badakhshan, and in 1531, he invaded Ladakh. During the campaign, Said fell ill from altitude sickness and died in July 1533 on the homeward journey. He was succeeded by his son Abdurashid Khan. Abdurashid came into conlift with the Dughlats and persecuted one of their leaders, Sayyid Muhammad-mirza. Abdurashid spent his reign fighting the Kyrgyz people and the Kazakhs, who made incursions on the Ili region and Issyk Kul. He was ultimately unsuccessful in preventing the Kyrgyz-Kazakhs from seizing the Ili region. Abdurashid was succeeded in 1565 by his son Abdul Karim Khan, who shifted the capital to Yarkand. Abdul was succeeded in 1590 by his brother Muhammad Sultan, who repelled an invasion by the Khanate of Bukhara under Abdullah Khan II. Muhammad died in 1610 and was succeeded by his son Shudja ad Din Ahmad Khan, who was assassinated in 1619, and replaced by Abd al-Latif (Afak) Khan. Abd al-Latif (Afak) Khan was succeeded by his nephew Sultan Ahmad Khan (Pulat Khan) in 1631. Pulat was overthrown by Abdallah (Moghul Khan) in 1636. Abdallah stabilized the court and exiled a number of old nobles to India. He repelled Oirat inroads in the Khotan and Aksu regions, and entered a tributary relationship with the Qing dynasty in 1655. Friendly relations were also established with Bukhara and the Mughal Empire. In 1667, Abdallah's son Yulbars Khan removed his father from power. From the late 16th century onward, the Yarkent Khanate fell under the influence of the Khojas. The Khojas were Muslims who claimed descent from the prophet Muhammad or from the first four Arab caliphs. By the reign of Said in the early 16th century, the Khojas already had a strong influence in court and over the khan. In 1533, an especially influential Khoja named Makhdum-i Azam arrived in Kashgar, where he settled and had two sons. These two sons hated each other and they passed down their mutual hatred down to their children. The two lineages came to dominate large parts of the khanate, splitting it between two factions: the Aq Taghliq (White Mountain) in Kashgar and the Qara Taghliq (Black Mountain) in Yarkand. Yulbars patronized the Aq Taghliqs and suppressed the Qara