Both Angola and Mozambique were united for four hundred years as part of the Portuguese Empire. Three years after the end of the Portuguese Colonial Wars, Angola and Mozambique established diplomatic relations on 5 September 1978 when both nations Presidents, Agostinho Neto of Angola, and Samora Machel of Mozambique, signed Agreements of General Cooperation.