In November 1978, Vietnamese troops invaded Cambodia in response to border raids by the Khmer Rouge. The People's Republic of Kampuchea (PRK), a pro-Soviet state led by the Kampuchean People's Revolutionary Party, a party created by the Vietnamese in 1951, and led by a group of Khmer Rouge who had fled Cambodia to avoid being purged by Pol Pot and Ta Mok, was established. It was fully beholden to the occupying Vietnamese army and under the direction of the Vietnamese ambassador to Phnom Penh. Its arms came from Vietnam and the Soviet Union.