Following the Convention of Peking, the Qing Empire created Zongli Yamen, an office for foreign affairs, in 1861 and Tongwen Guan one year later, which was supervised by Zongli Yamen. The college was not the first Western language school in China, though. The Eluosi Guan (俄羅斯館 "Russian College") was set up in as early as 1708, which was later integrated into Tongwen Guan. There were also Siyi Guan (四夷館) and Huitong Guan (會同館) during the Ming Dynasty for training translators and interpreters of Asian languages.
The college taught English, French, German, Russian and Japanese, as well as chemistry, medicine, machine-making, astronomy, mathematics, geography and international laws. Similar colleges were later set up at Canton and Shanghai. Tongwen Guan published several influential works introducing Western knowledge into China. It became part of the Imperial Capital University (now Peking University) since 1902.