Angola's continued support for the Vietnamese communists in the face of foreign opposition hurt their relations with the People's Republic of China and the Soviet Union. Agostinho Neto, the president of Angola from 1975 to 1979, condemned the Chinese invasion of Vietnam in February 1979. Neto, distrustful of the Soviet leadership after an attempt on his life, stood with Cuban leader Fidel Castro in Havana when he called Angola, Cuba, and Vietnam the "main anti-imperialist core" in July 1976.