The time of setting up a county in Shanghai.

The establishment of Shanghai county in Yuan Dynasty and the rise and fall of its ports

In the 15th year of Yuan Dynasty (1278), Songjiang Prefecture was located in Huating County, and Shanghai Town belonged to Huating County. In Zhenyuan (1295), Jiading County was promoted to a state, and it still belonged to Pingjiang Road.

At the beginning of Yuan Dynasty, the maritime trade of Shanghai towns further developed. In the 14th year of Zhiyuan (1277), Shanghai Zhentongqingyuan and Ganpu established the city shipping company at the same time. At that time, local products shipped from Quanzhou and Fuzhou to Shanghai will be subject to a single pumping system, while foreign goods will be subject to a double pumping system when they enter Hong Kong. Due to the frequent entry and exit of foreign ships, trade is prosperous and the market is prosperous. According to Hongzhi's "Shanghai County Records", which quoted Yuan Dade for six years (1302), Tang Shicuo's "Shanghai Mansion Records" said: "There are boats and cars in Shanghai", and the town "has monopoly shops, wine cellars, military passes, government offices, Confucian schools, Buddhist temples, fairy halls and temples. It went on to say, "In the 29th year of Yuan Dynasty, 1292, the Emperor of Heaven took Huating as a big city, which was difficult for the people to manage. It is divided into five townships, namely Gaochang, Changren, Beiting, Haiyue and Xinjiang, and 26 Bao, and established a county in Shanghai, and moved to Songjiang House because of its name. "Later generations of local chronicles have adopted many theories, and it is recognized that Shanghai was founded in the twenty-ninth year of Zhiyuan. However, Hongzhi's Shanghai County Records quoted Yuan Xueji as saying: "Shanghai used to be a town ... In Yuan Dynasty, Xin Mao cut five townships in the northeast of Huating to set up counties." In the 28th year of Yuan Dynasty (129 1 year), Hua Ting was divided according to the History of Yuan Dynasty.