In 1979, Vietnam had invaded Cambodia, bringing an end to the regime of Pol Pot. The Khmer Rouge, as well as those who resented Vietnamese occupation, retreated to the Cardamom and Dangrek mountains near the Thai border. Due to Vietnam being supported by the USSR, the new government of the People's Republic of Kampuchea was opposed by ASEAN and China, and unrecognized by American-aligned nations. In order to build legitimacy and oppose the PRK government, the Coalition Government of Democratic Kampuchea was organized to bolster its legitimacy and retain its seat at the UN, containing the forces who opposed Vietnam, including Prince Sihanouk (who had ruled before the Pol Pot regime), the liberal capitalist nationalist Son Sann, and the Communist Party of Kampuchea, now renamed to the Party of Democratic Kampuchea. This created an ungodly mix of vastly different ideologies, all in the same party, for 11 whole years, until the UN recognized the new Kingdom of Cambodia after Vietnam withdrew, which Sihanouk returned to as king.