張格爾
Although Ak Taghliks had been expelled from Kashgaria by the Qing in the 1760s, they had not abandoned their hopes of reconquering the region, and regularly invaded it from their base in Khanate of Kokand. Wali Khan followed in the footsteps of his father, Jahangir Khoja, his uncle Yusuf, and cousin Katti Torah, who had all invaded Kashgaria with various success through the first half of the 19th century.