Shanghai , China

During the Song Dynasty (AD 960–1279) Shanghai was upgraded in status from a village (cun) to a market town (zhen) in 1074, and in 1172 a second sea wall was built to stabilize the ocean coastline, supplementing an earlier dike.From the Yuan Dynasty in 1292 until Shanghai officially became a city for the first time in 1297, the area was designated merely as a county (xian) administered by the Songjiang (松江) Prefecture (Songjiang Fu)./Wikipedia/