Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
General elections were held in Cuba on 3 November 1958. The three major presidential candidates were Carlos Márquez Sterling of the Partido del Pueblo Libre, Ramón Grau of the Partido Auténtico and Andrés Rivero Agüero of the Coalición Progresista Nacional. There was also a minor party candidate on the ballot, Alberto Salas Amaro for Partido Union Cubana, who received 1% of the vote. Voter turnout was estimated at 50% of eligible voters. Although Andrés Rivero Agüero won the presidential election with 70% of the vote, he and all other elected officials were unable to take office due to the Cuban Revolution. Anselmo Alliegro y Milá briefly became the next president on 1 January 1959, before being replaced by the Chief Justice Carlos Manuel Piedra the following day, who in turn was replaced by Manuel Urrutia Lleó a day later.
This was the last competitive election in Cuba; the 1940 constitution was abrogated and the Congress quickly dismantled shortly thereafter.
Background
The rebels had publicly called for an election boycott, issuing its Total War Manifesto on 12 March 1958.
Rivero Agüero was due to be sworn in on 24 February 1959. In a conversation between him and the American ambassador Earl E. T. Smith on 15 November 1958, he called Castro a "sick man" and stated it would be impossible to reach a settlement with him. Rivero Agüero also said that he planned to restore constitutional government and would convene a Constitutional Assembly after taking office.