What type of government did Cuba have before the Cuban revolution?

Before the Cuban Revolution, Cuba was a constitutional republic, governed by the Constitution of 1940, widely regarded as a very progressive constitution for that time. Following the coup d'├ętat by Fulgencio Batista in 1952, parts of the constitution were suspended. Prior to seizing power, Fidel Castro and his group of revolutionaries claimed, in the Manifiesto de la Sierra Maestra, that one of their goals was to reinstate the Constitution of 1940. Once in power, the revolutionaries reneged on their promise and abrogated the Constitution of 1940.