Before Fidel Castro's 1959 revolution, Cuba was one of the most advanced and successful countries in Latin America. Cuba's capital, Havana, was a "glittering and dynamic city". The country's economy in the early part of the century, fuelled by the sale of sugar to the United States, had grown wealthy. Cuba ranked 5th in the hemisphere in per capita income, 3rd in life expectancy, 2nd in per capita ownership of automobiles and telephones, and 1st in the number of television sets per inhabitant. Cuba's literacy rate, 76%, was the fourth highest in Latin America. Cuba also ranked 11th in the world in the number of doctors per capita. Several private clinics and hospitals provided services for the poor. Cuba's income distribution compared favorably with that of other Latin American societies. However, income inequality was profound between city and countryside, especially between whites and blacks. Cubans lived in abysmal poverty in the countryside. According to PBS, a thriving middle class held the promise of prosperity and social mobility. According to Cuba historian Louis Perez of the University of North Carolina at Chapel Hill, "Havana was then what Las Vegas has become." In 2016, the Miami Herald wrote, "... about 27 percent of Cubans earn under $50 per month; 34 percent earn the equivalent of $50 to $100 per month; and 20 percent earn $101 to $200. Twelve percent reported earning $201 to $500 a month; and almost 4 percent said their monthly earnings topped $500, including 1.5 percent who said they earned more than $1,000."