The Communist Party of China, formed in 1921, entered into a united front with the Nationalists in 1923 to defeat the warlords. The right-wing Young China Party (YCP) appeared in 1923. Following the 1925 Yunnan–Guangxi War, ex-Nationalists who adhered to the expelled Chen Jiongming and Tang Jiyao created the China Public Interest Party (CPIP). During the Northern Expedition, the Communists were purged from the united front while the Nationalists set up their one-party state. Left-wing Nationalists and non-doctrinaire Communists formed the genesis of the Chinese Peasants' and Workers' Democratic Party (CPWDP) in the wake of the purge.