Who ruled Cuba before Batista?

Fulgencio Batista y Zaldívar was the 9th and the 12th President of Cuba. The first time, he was preceded by Federico Laredo Bru. The second time, he was preceded by Carlos Prio.