He first served as foreign minister under the military-controlled civilian government and led the decolonization in Africa, ending years of war in Guinea-Bissau, Angola, Mozambique and other territories.