The Qing dynasty reconquered Xinjiang after the Dungan Revolt in the late 19th century. After a century of Qing rule, the Uzbek adventurer Yakub Beg conquered almost all of Xinjiang during the revolt,
Muhammad Yakub Beg, later known as Yakub Padishah, was the Kokandi ruler of Yettishar, a state he established in Xinjiang from 1865 to 1877. He was recognized as Emir of Yettishar by the Ottoman Empir
Yakub Beg
Night interview with Yakub Beg, King of Kashgaria, 1868