 FRELIMO guerrillas initially received training primarily in North Africa and the Middle East in countries such as Algeria, with the Soviet Union and People's Republic of China providing military equipment.Portugal responded by embarking on a massive buildup of military personnel and security forces in Mozambique.It also established close defence ties with two of Mozambique's neighbours, Rhodesia and South Africa.