 At 24 years of age, Maduro resided in Havana with other militants of leftist organizations in South America who had moved to Cuba in 1986, attending a one-year course at the Escuela Nacional de Cuadros Julio Antonio Mella, a centre of political education directed by the Union of Young Communists.During his time in Cuba, Maduro received vigorous training under Pedro Miret Prieto (), a senior member of the Politburo of the Communist Party of Cuba who was close to Fidel Castro.Maduro was allegedly tasked by the Castro government to serve as a "mole" working for the Cuba's Dirección de Inteligencia to approach Hugo Chávez, who was experiencing a burgeoning military career.