The General of Ili (Chinese: 伊犁將軍; pinyin: Yīlí Jiāngjūn Officially 總統伊犁等處將軍), also known in western sources as the Kuldya Military Governor, was a position created during the reign of the Qing Qianlong Emperor (r. 1735-1799) to "pacify" Dzungaria (now part of Xinjiang) and suppress uprisings by the Khoja "Rebels". The General of Ili governed the entire Xinjiang during Qing rule until it was turned into a province.