Xin'an County
During the Song Dynasty, Nantou and the surrounding area became an important trade hub for salt and spices in the South China Sea. The area then became known for producing pearls during the Yuan Dynasty. In the early Ming era, Chinese sailors of a fleet would go to a Mazu temple in Chiwan (in present-day Nanshan District) to pray as they go to Nanyang (Southeast Asia). The Battle of Tunmen, when the Ming won a naval battle against invading Portuguese, was fought south of Nantou. In 1573, the Ming administration established Xin'an County, based in Nantou, which had authority over regions that would be Shenzhen and Hong Kong. Xin'an County's economy primarily was based on the production and trade of salt, tea, spices, and rice.