Mạc dynasty
During the Mạc dynasty (1533-1592), the land south of Shidawanshan Mountains were ceded to the Ming dynasty. Jiangping was a melting pot of Vietnamese and Chinese, however, the region was neglected by the Vietnamese government. During the 18th and 19th, the area became a hotbed of piracy (see: Pirates of the South China Coast). After the end of the Sino-French War in 1885, Jiangping, Bailong Peninsula and the Jing Islands were ceded by the French to Qing China. The Jing Islands are home to the Gin people, a group of ethnic Vietnamese in China.