Nomadic empire
The Xiongnu were a confederation of nomadic tribes from Central Asia with a ruling class of unknown origin and other subjugated tribes. They lived on the Mongolian Plateau between the 3rd century BC and the 460s AD, their territories including modern day Mongolia, southern Siberia, western Manchuria, and the modern Chinese provinces of Inner Mongolia, Gansu, and Xinjiang. The Xiongnu was the first unified empire of nomadic peoples. Relations between early Chinese dynasties and the Xiongnu were complicated and included military conflict, exchanges of tribute and trade, and marriage treaties. When Emperor Qin Shihuang drove them away from the south of the Yellow River, he built the famous Great Wall to prevent the Xiongnu from coming back.
Xichang
The Qiongdu were the local people at the time of contact with China. The county of Qiongdu is attested in the area from the Han dynasty. Under the Song, a local lord was given the title of "King of the Qiongdu" ("Qiongdu Wang"). The area formed part of the medieval Kingdom of Dali and was subdued by the Mongolians from 1272–4, after which it was incorporated into Yunnan of the Yuan dynasty. It was organized as the Jiandu Ningyuan duhufu, qianhufu, or wanhufu but continued to be often known as Jiandu. In the book of his travels, Marco Polo recorded that the people of Jiandu and its hinterland used no coins but rods of gold bullion reckoned in '. Small change was made using half-catty pieces of molded salt, each reckoned as one-eightieth of a ' of pure gold. Under the Qing, it was officially known as Ningyuan Commandery but also continued to be referenced under the old name Jianchang. In the 19th century, it was the center of Sichuan's production of "white wax".