[3] Located along the Bailong River near the borders with Sichuan and Shaanxi, it has been the site of many historic battles.
A town has existed at the current county seat since at least 448.
The current district was established from Wudu County in 2004.
[5] The Wanxiang karst cave is located 10 km from the city.
[6] Its agricultural output includes olive cultivation, traditional Chinese medicine crops and Sichuan pepper.