 In 1768, the county became an independent subprefecture with the seat moving to Maojia Town ().In 1912, one year after the Republic of China was founded, Haimen once again became a county.However, in 1949, when the People's Republic of China was founded, Haimen became governed under Nantong Prefecture.