Known for his affiliation with the Tanzanian Chama Cha Mapinduzi (CCM) political party, he represented the Mtama constituency in the Tanzanian Parliament and also served as Minister of Foreign Affairs. After earning degrees in politics from both the University of Dar es Salaam and Johns Hopkins University, he served briefly in the Tanzanian military.