Pro-Yuan officials apparently succeeding in persuading the king to take action against the Ming, as he ordered General Yi Seonggye to conquer Yodong in Ming territory. Goryeo's senior military commander, General Choi Young, consulted with General Yi Seong-gye, and determined that removal of the anti-Ming faction from power in Kaesŏng was essential to reducing the perceived threat from Ming China. Supported by Seong-gye, Choi removed Yi In-Im and his group accordingly in a coup d'état and took personal control of the government.