Yongzheng Emperor
Nian Gengyao was a supporter of the Yongzheng Emperor long before the latter ascended the throne. In 1722, when he was recalling his brother Yinti from the northwest border in Xinjiang, the Yongzheng Emperor appointed Nian as the commander of the Qing army in Xinjiang. The situation in Xinjiang at the time was volatile, and a strong general was needed in the area. After several military conquests, however, Nian's stature and power grew. Some said he began seeing himself as equal to the emperor. Seeing Nian as no longer within his control, the Yongzheng Emperor issued an imperial edict demoting Nian to the position of a general of the Hangzhou Command. As Nian continued to remain unrepentant, he was eventually given an ultimatum and forced to commit suicide by consuming poison in 1726.