Question: Who moved the capital from Nanjing to Beijing?
Sentence: However, the Qing Empire controlled large regions to the north, so revolutionaries asked Yuan Shikai to replace Sun as president in exchange for the abdication of Puyi, the Last Emperor.
Answer in sentence: yes