The party was allied with the Kuomintang during the first phase of the Northern Expedition, but the two sides split following the Shanghai massacre in 1927. The two parties would then fight a decades long civil war, which ended with the Kuomintang retreat to Taiwan and the founding of the People's Republic of China on the mainland.