Pingding sanni fanglüe 平定朔漠方略 "Military annals of the pacification of the three rebels" is the history of the war of the Qing dynasty 清 (1644-1911) against the Three Feudatories from 1673 to 1681, local potentates that had challenged the power of the Qing dynasty. The 60-juan long book was compiled on imperial order by Ledehung 勒德洪 (late 17th cent.), Grand Academician and highly entrusted minister of the Kangxi Emperor 康熙帝 (1662-1722).
In the first decades of the Qing period, three generals of the Ming, Wu Sangui 吳三桂 (1608-1678), Shang Kexi 尚可喜 (1604-1676), and Geng Jingzhong 耿精忠 (1644-1682), had submitted to the Qing and were rewarded with so-called feudatories in the south which gave them virtually economical and political independence. When the Kangxi Emperor mounted the throne he decided to disempower the three feudatories. The three of them thereupon joined in rebellion and declared their independence from the Qing dynasty. It took the Manchus eight years to put down the rebellion and to bring southern China under their control.