The Republic was declared on 1 January 1912 after the Xinhai Revolution, which overthrew the Qing dynasty, the last imperial dynasty of China. On 12 February 1912, regent Empress Dowager Longyu signed the abdication decree on behalf of the Xuantong Emperor, ending several millennia of Chinese monarchical rule. Sun Yat-sen, the founder and its provisional president, served only briefly before handing over the presidency to Yuan Shikai, the leader of the Beiyang Army. Sun's party, the Kuomintang (KMT), then led by Song Jiaoren, won the parliamentary election held in December 1912. However, Song was assassinated on Yuan's orders shortly after and the Beiyang Army, led by Yuan, maintained full control of the Beiyang government, who then proclaimed the Empire of China in 1915 before abolishing the short-lived monarchy as a result of popular unrest. After Yuan's death in 1916, the authority of the Beiyang government was further weakened by a brief restoration of the Qing dynasty. The mostly powerless government led to a fracturing of the country as cliques in the Beiyang Army claimed individual autonomy and clashed with each other. So began the Warlord Era: a decade of decentralized power struggles and prolonged armed conflict.