A new war of independence began in 1895. One of the leaders was Jose Marti, a cuban nationalist, writer and thinker who wanted all caribbean countries to live freely in peace and unity. Though Jose was killed soon after the war started.
In 1898, the united states declared war on spain, mainly in order to protect their investments in cuba.
The united states swiftly defeated the Spanish navy and landed troops in Cuba, taking credit for a victory which had largely been won by pro-independence fighters.
By 1962, Castro was satisfied that US control over the Cuban economy was removed. He did not want the country to continue its democratic tradition and preferred for it to be governed like a communist state.
In 1953 a young lawyer, Fidel Castro led a coup (against (Fulgencio) attempt and failed, many were killed and castro was imprisoned. Castro was released in 1955 and went into exile in mexico, but returned to cuba in december 1956 with a small group of supporters.
Batistas government had collapsed by 1958, and Castro and his supporters entered havana in triumph on january 1, 1959.