Cuban politician and revolutionary who served as prime minister of the republic of cuba from 1959 to 1976 and then president from 1976 to 2008.