On 1 January 1912, the Republic of China was established, and Sun Yat-sen of the Kuomintang (the KMT or Nationalist Party) was proclaimed provisional president. On 12 February 1912, regent Empress Dowager Longyu sealed the imperial abdication decree on behalf of 4 year old Puyi, the last emperor of China, ending 5,000 years of monarchy in China. In March 1912, the presidency was given to Yuan Shikai, a former Qing general who in 1915 proclaimed himself Emperor of China. In the face of popular condemnation and opposition from his own Beiyang Army, he was forced to abdicate and re-establish the republic in 1916.