Original sentence: After commanding the revolution that overthrew Fulgencio Batista in 1959, he held the title of Prime Minister until 1976, when he delared himself president of the Council of State as well as the Council of Ministers.Castro's policies have led Cuban citizens to higher literacy and lower infant mortality than their US counterparts.Despite harsh economic and energy circumstances, Cuba under Castro's leadership has made great strides in organic farming and biomedicine, putting comparable countries like El Salvador to shame on the UN index.Some credit these policies for Cuba's remarkably high Human Development Index rating Others see Castro and his policies as being responsible for Cuba's economic problems, and criticize him for the criminalization of political dissent and the hundreds of thousands of Cubans who have left the country.The ensuing energy and trade crisis was exacerbated by  US legislation which made it illegal for any Us company to deal with, or any US citizen to travel to Cuba.This was true until the 1991 collapse of the Soviet Union which had been Cuba's main trading partner
Edited sentence: After commanding the revolution that overthrew Fulgencio Batista in 1959, he held the title of Prime Minister until 1976, when he declared himself president of the Council of State as well as the Council of Ministers.Some credit these policies for Cuba's relatively high Human Development Index rating Others see Castro and his policies as being responsible for Cuba's general economic depredation, and harshly criticize him for the criminalization of political dissent, free speech, and provoking hundreds of thousands of Cubans into fleeing the country.This was true until the collapse of the Soviet Union in 1991, after which his priorities shifted from supporting foreign interventions to partnering with regional socialist figures such as Hugo Chávez in Venezuela and Evo Morales in Bolivia