The oldest surviving republic in East Asia, the Republic of China was formally established on 1January 1912 in mainland China following the Xinhai Revolution, which itself began with the Wuchang Uprising on 10October 1911, replacing the Qing dynasty and ending over two thousand years of imperial rule in China. Central authority waxed and waned in response to warlordism (1915–28), Japanese invasion (1937–45), and the Chinese Civil War (1927–49), with central authority strongest during the Nanjing Decade (1927–37), when most of China came under the control of the Kuomintang (KMT) under an authoritarian one-party state.