Various Chinese dynasties have historically exerted various degrees of control and influence over parts of what is modern-day Xinjiang. The region came under complete Chinese rule as a result of the westward expansion of the Manchu-led Qing dynasty, which also conquered Tibet and Mongolia. This conquest, which marked the beginning of Xinjiang under Qing rule, ended circa 1758. While it was nominally declared to be a part of China's core territory, it was generally seen as a distant land unto its own by the imperial court; in 1758, it was designated a penal colony and a site of exile, and as a result, it was governed as a military protectorate, not integrated as a province.