In October, Batista was elected President of Cuba. In 1944, Batista was forbidden by law to seek re-election and was succeeded by Ramon Grau. Batista retired into voluntary exile in Florida, before returning in 1952.
Batista staged a military coup on March 10, 1952, overthrowing Carlos Prio Socarras (elected in 1948) and becoming dictator. This time he headed a notoriously corrupt and repressive government and rejected the constitution. It was on good terms with the United States government and the mafia. A number of American corporations did very well in Cuba and the island became a major tourist destination. But the economic depressions of the 1950s increased opposition as native Cubans saw themselves as being marginalized in their own country by the incursion of American tourists and businesses.
Among the opponents to Batista was Fidel Castro. Castro had attempted to challenge the coup judicially but his petition was refused. Castro was imprisoned after he led an inept and costly attack on a army barracks in July, 1953. Castro was released in a general amnesty in May 1955 and went into exile in Mexico and the United States. Castro's return to Cuba as head of the 26th of July Revolutionary Movement was marked by another disastrous attack in December, 1956. Only Castro and eleven others survived to retreat into the mountains and from there wage a guerrilla war.
In May 1958, Batista launched a major assault against Castro. Despite being outnumbered, Castro's forces scored a series of victories, aided by massive desertion amongst Batista's army. On January 1, 1959 Batista fled the country to the Dominican Republic, and Castro's forces took Havana.
Batista moved to permanent exile in Portugal and Spain, dying in Guadalmina, Spain.