 Thus, by the end of the 17th century the Qing dynasty had put both Inner and Outer Mongolia under its control.The Oirat Khoshut Upper Mongols in Qinghai rebelled against the Qing during the reign of the Yongzheng Emperor but were crushed and defeated.Khalkha Mongol rebels under Prince Chingünjav had plotted with the Dzungar leader Amursana and led a rebellion against the Qing at the same time as the Dzungars.