寶安縣
Around the 8th century (during the Tang Dynasty), a Xiangshan Township was carved out of the Bao'an County and Dongguan County, at the present-day Shanchang () of Zhuhai. Around the 12th century (during the Northern Song Dynasty), this township became a separate county.