Tianjin is the largest coastal city in northern China. In terms of urban population, Tianjin is the fourth largest in China, after Shanghai, Beijing, and Guangzhou. In terms of administrative area population, Tianjin ranks fifth in Mainland China. The walled city of Tianjin was built in 1404. As a treaty port since 1860, Tianjin has been a major seaport and gateway to Beijing. During the Boxer Rebellion the city was the seat of the Tianjin Provisional Government. Under the Qing dynasty and the Republic of China, Tianjin became one of the largest cities in the region. At that time, numerous European-style
Koreans in China thousand Goryeo households was 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 settled down in current-day Shenyang city in Northeast China. The Korean population in China surged during the Ming Dynasty. According to the "Chronicles of Liaodong" (), Koreans and Manchus accounted for 30% of the total local population in Northeast China. In 1386, the Ming government set up the Dongningwei () and Guangningwei () to settle the increasing Korean population in Northeast China. Between