Lifan Yuan
The Qing dynasty ruled over Xinjiang from the late 1750s to 1912. In the history of Xinjiang, the Qing rule was established in the final phase of the Dzungar–Qing Wars when the Dzungar Khanate was conquered by the Manchu-led Qing dynasty of China, and lasted until the fall of the Qing dynasty in 1912. The post of General of Ili was established to govern the whole of Xinjiang and reported to the Lifan Yuan, a Qing government agency that oversaw the empire's frontier regions. Xinjiang was turned into a province in 1884.