The Khmer Rouge insurgency was an armed conflict in Cambodia and eastern border of Thailand that began in 1979 when the Khmer Rouge-ruled government of Democratic Kampuchea was deposed during the Cambodian–Vietnamese War. Between 1979 and the 1991 Paris Peace Agreements, the war was fought between the Vietnam-supported People's Republic of Kampuchea and an opposing coalition. After 1991, the unrecognized Khmer Rouge government and insurgent forces continued to fight against the new government of Cambodia from remote areas until their defeat in 1998. The remaining Khmer Rouge forces surrendered in 1999.
After the fall of the Khmer Rouge regime, Cambodia came under Vietnamese military occupation, and a pro-Hanoi, Soviet government known as the People's Republic of Kampuchea (PRK) was formed, led by the Kampuchean United Front for National Salvation. The conflict was fought during the 1980s between the People's Republic of Kampuchea and the Coalition Government of Democratic Kampuchea (CGDK). The latter was a government-in-exile formed in 1981 that was composed of three Cambodian political factions: the royalist FUNCINPEC party led by Prince Norodom Sihanouk, the Party of Democratic Kampuchea (often referred to as the Khmer Rouge), and the Khmer People's National Liberation Front (KPNLF). The Khmer Rouge representative at the UN, Thiounn Prasith, was maintained.