Tongmenghui victory
 The Wuchang Uprising was an armed rebellion against the ruling Qing dynasty that took place in Wuchang (now Wuchang District of Wuhan), Hubei, China on 10 October 1911, beginning the Xinhai Revolution that successfully overthrew China's last imperial dynasty. It was led by elements of the New Army, influenced by revolutionary ideas from Tongmenghui. The uprising and the eventual revolution directly led to the downfall of the Qing dynasty with almost three centuries of imperial rule, and the establishment of the Republic of China (ROC), which commemorates the anniversary of the uprising's starting date of 10 October as the National Day of the Republic of China.
 The uprising originated from popular unrest about a railway crisis, and the planning process took advantage of the situation. On 10 October 1911, the New Army stationed in Wuchang launched an assault on the residence of the Viceroy of Huguang. The viceroy Ruicheng quickly fled from the residence, and the revolutionaries soon took control of the entire city.
 In 1895, China was decisively defeated by Japan in the First Sino-Japanese War. Intellectuals in China were divided into several factions. Constitutional monarchist reformers led by Kang Youwei and Liang Qichao took control initially, and orchestrated the Hundred Days' Reform in the Qing government. The reforms failed due to the Wuxu Coup by Empress Dowager Cixi. Disillusioned with the monarchy and the Qing government, many revolutionary groups began emerging across the country. In 1905, revolutionary leaders such as Sun Yat-sen and Song Jiaoren met in Tokyo to discuss a merger between different revolutionary groups. A new group known as Tongmenghui was formed after this meeting.
 After the Boxer Rebellion, many Western powers saw railway investments as part of the consolidation in their spheres of influence over China. Railway constructions took place across Shandong, Yangtze Valley, Kunming and Manchuria. Provincial governments, with permission from the Qing court, also began to construct their own railways. The Canton-Hankou Railway and Sichuan-Hankou Railway were under the oversight of Guangdong, Hunan, Hubei and Sichuan. Faced with ongoing financial struggles, partly due to ongoing indemnity payments from the Boxer Protocol, the Qing court turned to Sheng Xuanhuai in 1910, a "classic bureaucratic capitalist", and adhered to his policy of securing foreign loans through the nationalization of all railway lines. This policy was met with stiff resistance, particularly in Sichuan, and the resistance quickly turned into a movement  known as the Sichuan Railway Protection Movement. In response, the Qing court suppressed the unrest by force, contributing to the declining popularity of its government. By August 11 there were massive strikes and rallies in Chengdu. On 7 September the Viceroy of Sichuan, Zhao Erfeng, was asked to "intervene vigorously", and he ordered the arrest of key leaders in the Railway Protection League, then ordered troops to open fire on the protesters. Subsequent fighting around Chengdu prompted the diversion of troops to Sichuan from central China, which later became an important factor in the Wuchang Uprising's success.: 287 
 Meanwhile, inaction toward nationalization of railway lines in both Hunan and Hubei were criticized by the local press. Confidence in the Qing government among the populace continued to deteriorate in response to the escalation of the railway crisis.
 There were two revolutionary groups in the Wuhan area, the Literary Society (文學社) and the Progressive Association (共進會). These groups, led by Jiang Yiwu (蔣翊武) and Sun Wu (孫武) respectively, worked closely together as commander and chief of staff of the revolutionary efforts in Wuhan.  Beginning in September, 1911, these two groups began negotiating with the Tongmenghui (同盟會) for possible collaboration in the next uprising. The date was originally set for 6 October, on the Mid-Autumn festival. The date was later postponed, due to inadequate preparations. On 9 October, while Sun Wu was supervising the making of explosive devices in the Russian concession in Hankou, one of the devices exploded unexpectedly, inflicting serious injuries on Sun. When he was hospitalized, the hospital staff discovered his identity and alerted the Qing authorities.
 With their identities revealed, the revolutionaries in the New Army stationed in Wuchang were facing imminent arrest by the Qing authorities. The decision was made by Jiang Yiwu of the Literary Society to immediately launch the uprising, but the plot was leaked to the Viceroy of Huguang, and he ordered a crackdown of the revolutionaries, arresting and executing several prominent members.
 On the evening of 10 October, Wu Zhaolin (吴兆麟) as provisional commander led the revolutionary elements of the New Army staged a mutiny against the Qing garrison in Huguang, capturing the residence of the Viceroy in the process along with securing strategic points in the city after intense fighting. As the Viceroy escaped, the Qing garrison fell into disarray. Between the night of 10 October and noon of 11th, "more than 500 Manchu soldiers were killed" with "over 300 captured".
 On 11 October, the mutineers established a military government representing the Hubei province, and persuaded one of the high-ranking officers in the New Army, Li Yuanhong, to be the temporary leader. Li was initially resistant to the idea, but he was eventually convinced by the mutineers after they approached him. The newly established military government were able to confirm that foreign powers would not intervene in the uprising, and they went on to raise the "iron blood 18-star flag" while signaling for the other provinces to follow their suit. On 12 October, the revolutionaries marched toward the rest of the province, capturing Hankou and Hanyang in the process.
 In response to the uprising, the Qing government called for the help of Yuan Shikai and the Beiyang Army to march toward Wuchang. For the revolutionaries, Huang Xing would arrive at Wuhan in early November to take over the command. Positions of revolutionary forces in Wuhan were subsequently attacked by the Beiyang Army, and the imperial troops were soon able to recapture Hankou on 1 November and Hanyang on 27 November. The offensive was halted after the capture of these two positions, as Yuan Shikai began to secretly negotiate with the revolutionaries.
 The Wuchang Uprising took many revolutionary leaders by surprise; Huang Xing and Song Jiaoren were unable to reach Wuchang in time. Sun Yat-sen was traveling in the United States speaking to overseas Chinese to appeal for financial support when the uprising took place. Although Sun received a telegram from Huang Xing, he was unable to decipher it, and found out about the uprising the next morning in the newspaper. After the successful uprising in Wuchang, the revolutionaries sent telegraphs to other provinces and asked them to follow in their suit, upon which eighteen provinces in Southern and Central China agreed to secede from the Qing government by the end of December, 1911.
 As part of the resolution of the uprising, the Qing government agreed to a general amnesty for political prisoners.: 44  Wang Jingwei was among those released.: 44 
 In the same month, Sun returned to China to participate in the provisional presidential election and was elected. Representatives from the seceding provinces met on 1 January 1912, and declared the founding of the Chinese Republic as Sun was sworn in as the first president. The new republic then negotiated with Yuan Shikai to pressure the Qing government to surrender, offering the presidency in the process. On 12 February 1912, Empress Dowager Longyu, on behalf of Aisin Gioro Puyi, the Xuantong emperor, announced the abdication of the Qing throne, marking the end of the dynasty.