三藩之乱
In 1673 Revolt of the Three Feudatories between the Emperor and the powerful Han princes, Wu Sangui and Geng Jingzhong, started when they opposed the Emperor's plan of resettling them in Manchuria. Shang remained loyal to the Qing and took no part in the rebellion. Shang died in 1676 and was succeeded by his son Shang Zhixin who rebelled shortly after but was defeated by the Han Chinese Green Standard forces of the Qing in 1677.