Kingdom of Dali
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 dynasty, 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".