The reason cited for the attack was to support China's ally, the Khmer Rouge of Cambodia, in addition to the mistreatment of Vietnam's ethnic Chinese minority and the Vietnamese occupation of the Spratly Islands which were claimed by China.