The Communists took over China through a combination of guerrilla warfare, widespread peasant support, and civil war. During World War II, the Communists and Nationalists temporarily united against the Japanese, but resumed fighting after the war. The Communists promised land reform that appealed to oppressed peasants. By 1949, the Communists had driven the Nationalists almost entirely from mainland China, establishing the People's Republic of China led by Mao Zedong. However, some countries continued supporting Chiang Kai-shek's rival nationalist government in Taiwan.