Question: Who moved the capital from Nanjing to Beijing?

Is "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." the correct answer?
yes