Yuan Shikai, the leader who controlled the Beiyang army, the biggest in north China, went to the court with a proposal. In return for the abdication of the six-year-old emperor, Puyi, Yuan would ensure that the imperial household was given suitable accommodation and an income. On February 12, 1912, the last emperor of China abdicated, and China formally became a republic.