The Dongyi or Eastern Yi (simplified Chinese: 东夷; traditional Chinese: 東夷; pinyin: Dōngyí; Wade–Giles: Tung-i) was a collective term for ancient peoples found in Chinese records. The definition of Dongyi varied across the ages, but in most cases referred to inhabitants of eastern and northeastern China, the Korean peninsula, or Japan. They were one of the Four Barbarians in Chinese culture, along with the Northern Di, the Southern Man, and the Western Rong; as such, the name "Yí" 夷 was something of a catch-all and was applied to different groups over time.
The more "China" expanded, the further east the term "Dongyi" was applied to. The Records of the Grand Historian by Sima Qian uses the term "Manyi" (蠻夷), but not "Dongyi". It puts the section of "Xinanyi (southwestern Yi) liezhuan (biographies)", but not "Dongyi liezhuan". The Book of Han does not put this section either but calls a Dongye (濊) chief in the Korean Peninsula as Dongyi. The Book of Later Han puts the section of "Dongyi liezhuan (東夷列傳)" and covers Buyeo, Yilou, Goguryeo, Eastern Okjeo, Hui, Samhan and Wa, in other words, eastern Manchuria, Korea, Japan and some other islands. The Book of Jin positioned Dongyi inside the section of "Siyi" (barbarians in four directions) along with "Xirong", "Nanman" and "Beidi". The Book of Sui, the Book of Tang and the New Book of Tang adopt the section of "Dongyi" and covers eastern Manchuria, Korea, Japan and optionally Sakhalin and Taiwan. During the Song Dynasty, the official history books replaced Dongyi with Waiguo (外國) and Waiyi (外夷).