In 1912, the Qing Dynasty was overthrown in the Xinhai Revolution and replaced by the Republic of China, which promptly appointed Yang Zengxin as the new Governor of Xinjiang. Yang was a monarchist and supported the Khanate and as a result the Khanate's status as a vassal was undisturbed.