 The last Mongol Khagan Ligden saw much of his power weakened in his quarrels with the Mongol tribes and was defeated by the Manchus, he died soon afterwards.His son Ejei Khan gave Hong Taiji the imperial authority, ending the rule of Northern Yuan dynasty then centered in Inner Mongolia by 1635.However, the Khalkha Mongols in Outer Mongolia continued to rule until they were overrun by the Dzungars in 1690, and they submitted to the Qing dynasty in 1691.