The history of the Republic of China began in 1912 with the end of the Qing dynasty, when the Xinhai Revolution and the formation of the Republic of China put an end to 2,000 years of imperial rule. The Republic experienced many trials and tribulations after its founding which included being dominated by elements as disparate as warlord generals and foreign powers.
In 1928, the Republic was nominally unified under the Kuomintang (KMT; also called "Chinese Nationalist Party") after the Northern Expedition, and was in the early stages of industrialization and modernization when it was caught in the conflicts involving the Kuomintang government, the Chinese Communist Party (CCP), local warlords, and the Empire of Japan. Most nation-building efforts were stopped during the full-scale Second Sino-Japanese War against Japan from 1937 to 1945, and later the widening gap between the Kuomintang and the Communist Party made a coalition government impossible, causing the resumption of the Chinese Civil War, in 1946, shortly after the Japanese surrender to the Allied Powers in September 1945.