Revolt of the Three Feudatories
In 1662, during the reign of the Kangxi Emperor, the Viceroy of Yun-Gui split into the Viceroy of Yunnan and Viceroy of Guizhou, which were respectively headquartered in Qujing and Anshun. Two years later, the two viceroys were merged and the headquarters shifted to Guiyang. In 1673, the Kangxi Emperor restored the Viceroy of Yunnan, with its headquarters in Qujing. Between 1673 and 1681, the Revolt of the Three Feudatories broke out in Yunnan, Guangdong and Fujian provinces. The Viceroy of Yun-Gui was restored in 1680.