 Five years of Tang Wude (622 AD), reanalyzed Zhijiacheng County of Yongjia County, which belongs to Dongjiazhou.In the seven years of Wude, Lecheng County of Fuxing Province entered Yongning County; in the second year of the Yuan Dynasty (AD 675), Wenzhou was established.In the first year of the beginning of the year (AD 689), it was divided into Yongjia County and resettlement into Lecheng County, which is Shang County and belongs to Wenzhou.