On 16 January, while returning to his residence, Yuan Shikai was ambushed in a bomb attack organized by the Tongmenghui in Donghuamen, Beijing. A total of eighteen revolutionaries were involved. About ten of the guards died, but Yuan himself was not seriously injured. He sent a message to the revolutionaries the next day pledging his loyalty and asking them not to organize any more assassination attempts against him.
Zhang Jian drafted an abdication proposal that was approved by the Provisional Senate. On 20 January, Wu Tingfang of the Nanking Provisional government officially delivered the imperial edict of abdication to Yuan Shikai for the abdication of Puyi.
On 22 January, Sun Yat-sen announced that he would resign the presidency in favor of Yuan Shikai if the latter supported the emperor's abdication. Yuan then pressured Empress Dowager Longyu with the threat that the lives of the imperial family would not be spared if abdication did not come before the revolutionaries reached Beijing, but if they agreed to abdicate, the provisional government would honor the terms proposed by the imperial family.