In 1979, the Conference of the Non-Aligned Movement (NAM) was held in Havana, where Castro was selected as NAM president, a position he held until 1982.