Soon after Deng became the Paramount Leader of China, the Vietnamese invaded Cambodia and ended the genocide by defeating the Khmer Rouge in January 1979. The People's Republic of Kampuchea was then established. In order to counter the power of Soviet Union and Vietnam in Southeast Asia, China officially condemned the Vietnamese invasion and continued its material support to Khmer Rouge. In early 1979, China launched an invasion of Vietnam to retaliate against Vietnam's invasion of Cambodia.