Цзо Цзунтан
Yakub Beg's rule lasted until Qing General Zuo Zongtang (also known as General Tso) reconquered the region in 1877 for Qing China. The Qing reconquered Xinjiang with the help of Hui Muslims like the Khuffiya Sufi leader and Dungan (Hui) General Ma Anliang, and the Gedimu leaders Hua Dacai and Cui Wei. As Zuo Zongtang moved into Xinjiang to crush the Muslim rebels under Yaqub Beg, he was joined by Ma Anliang and his forces, which were composed entirely out of Muslim Dungan people. Ma Anliang and his Dungan troops fought alongside Zuo Zongtang to attack the Muslim rebel forces. General Dong Fuxiang's army seized the Kashgaria and Khotan area. In addition, General Dong Fuxiang had an army of both Hans and Dungan people, and his army took Khotan. Finally, Qing China recovered the Gulja region through diplomatic negotiations and the Treaty of Saint Petersburg in 1881.