The Qing dynasty ( ), officially the Great Qing, was a Manchu-led imperial dynasty of China (1636–1912) and the last orthodox dynasty in Chinese history. It emerged from the Later Jin dynasty founded by the Jianzhou Jurchens, a Tungusic-speaking ethnic group who unified other Jurchen tribes to form a new "Manchu" ethnic identity. The dynasty was officially proclaimed in 1636 in Manchuria (modern-day Northeast China and Outer Manchuria). It seized control of Beijing in 1644, then later expanded its rule over the whole of China proper and Taiwan, and finally expanded into Inner Asia. The dynasty lasted until 1912 when it was overthrown in the Xinhai Revolution. In orthodox Chinese historiography, the Qing dynasty was preceded by the Ming dynasty and succeeded by the Republic of China. The multiethnic Qing dynasty lasted for almost three centuries and assembled the territorial base for modern China. It was the largest imperial dynasty in the history of China and in 1790 the fourth-largest empire in world history in terms of territorial size. With 419,264,000 citizens in 1907, it was the world's most populous country at the time. In the late sixteenth century, Nurhaci, leader of the House of Aisin-Gioro, began organizing "Banners", which were military-social units that included Manchu, Han, and Mongol elements. Nurhaci united clans to create a Manchu ethnic identity and officially founded the Later Jin dynasty in 1616. His son Hong Taiji renamed the dynasty "Great Qing" and elevated the realm to an empire in 1636. As Ming control disintegrated, peasant rebels conquered Beijing in 1644, but the Ming general Wu Sangui opened the Shanhai Pass to the armies of the regent Prince Dorgon, who defeated the rebels, seized the capital, and took over the government. Resistance from Ming loyalists in the south and the Revolt of the Three Feudatories delayed the complete conquest until 1683. The Kangxi Emperor (1661–1722) consolidated control, maintained the Manchu identity, patronized Tibetan Buddhism, and relished the role of a Confucian ruler. Han officials worked under or in parallel with Manchu officials. The dynasty also adapted the ideals of the tributary system in asserting superiority over peripheral countries such as Korea and Vietnam, while extending control over Tibet, Mongolia, and Xinjiang. The height of Qing glory and power was reached in the reign of the Qianlong Emperor (1735–1796). He led Ten Great Campaigns that extended Qing control into Inner Asia and personally supervised Confucian cultural