According to records of "History of Liao"(), Khitans set up a Samhan county, in Zhongjing Circuit (中京道), one of the Liao's 5 "circuits", after Goryeo–Khitan War to settle prisoners of wars. In the Yuan dynasty, Koreans were included along with Northern Chinese, Khitan and Jurchen in the third class, as "Han people". Korean settlements in the Yuan Dynasty were mostly war-related. In 1233, former Goryeo commander Hong Bok-won and his followers moved to the current-day Liaoyang and Shenyang areas of Liaoning Province in Northeast China after his surrender to the Mongols during the Mongol invasions of Korea, and was offered an administrator position to take charge of Korean population there. In the next years, another ten thousand Goryeo households were brought under his administration. In 1266, Wang Jun (), a member of the Goryeo royal family, was sent to the Mongol Empire as a hostage. There were 2,000 Goryeo households accompanying him and settling down in the current-day Shenyang city.