While the Qing dynasty of China tried to maintain the traditional tributary system of China, by the 19th century Qing China had become part of a European-style community of sovereign states[1] and had established official diplomatic relations with over twenty countries around the world before its downfall in 1912. It also established legations and consulates known as the "Chinese Legation", "Imperial Consulate of China", "Imperial Chinese Consulate (General)" or similar names in seventeen countries since the 1870s.