Songjiang was known as Huating in ancient times, with alternative names such as Yunjian, Rongcheng, and Gushui. It is a famous land of fish and rice in the Jiangnan region. In the tenth year of the Tianbao era of the Tang Dynasty (751), Huating County was established. In the fourteenth year of the Zhiyuan era of the Yuan Dynasty (1277), it was elevated to Huating Prefecture, and the following year it was renamed Songjiang Prefecture.