History of the Republic of China elected Sun Yat-sen as the first Provisional President of the Republic of China. Yuan Shikai agreed to accept the Republic and forced the last emperor of China, Puyi, to abdicate on February 12. Empress Dowager Longyu signed the abdication papers. Puyi was allowed to continue living in the Forbidden City, however. The Republic of China officially succeeded the Qing Dynasty. Some advocated that a Han be installed as Emperor, either the descendant of Confucius, who was the Duke Yansheng, or the Ming dynasty Imperial family descendant, the Marquis of Extended Grace. On 1 January 1912, Sun officially declared the establishment
Emperor of China made by the official dynastic histories; the compilation of a history of the preceding dynasty was considered one of the hallmarks of legitimacy, along with symbols such as the Nine Ding or the Heirloom Seal of the Realm. As with the First Emperor, it was very common also to retroactively grant posthumous titles to the ancestors of the victors; even in Chinese historiography, however, such grants were not considered to elevate emperors prior to the successful declaration of a new dynasty. The Yuan and Qing dynasties were founded by successful invaders; as part of their rule over China, however, they