Those who dissented suffered. Members of the previous government went before the courts and hundreds were shot. Newspapers were closed. Homosexuals were persecuted. In 1964, Castro admitted holding 15,000 political prisoners.
Castro's interventions in Africa and the developing world became more adventurous. By 1989, when the Soviet empire collapsed, he had an army totalling more than 250,000 of regulars and reserves. At home, many of his people were facing starvation and thousands attempted to flee on home-made boats to the United States.
There were achievements during Castro's reign. Health care and life expectancy improved. Diseases were eradicated. Literacy and education were lifted and higher education became universally available. During the Ebola outbreak, Cuba reportedly had the largest contingent of foreign doctors in Africa.
Castro's opposition to colonialism prompted Nelson Mandela to call him a "source of inspiration to all freedom-loving people".
An ill Castro resigned in 2008, and handed power to younger brother Raul.
Relations with America thawed and in December 2014, President Barack Obama announced the US would re-establish diplomatic relations with Havana. That progress is now under threat from a Donald Trump presidency.
Fidel Castro leaves his country with the marks of decades of isolation, and still recovering from a 1990 economic crisis. He will never be forgotten as a revolutionary who overthrew a corrupt and oppressive regime but his people continue to struggle with the regime that followed.