The Republic of Cuba (Spanish: República de Cuba) of 1902 to 1959, refers to the historical period in Cuba from 1902, when Cuba seceded from US rule in the aftermath of the Spanish–American War that took Cuba from Spanish rule in 1898, until the Cuban Revolution of 1959. Cuban independence from the United States was guaranteed in the Platt Amendment proposed to the United States Congress in 1901. It was officially a representative democracy though at times it became controlled by a military junta. The Cuban Revolution of 1959 massively changed Cuban society, creating a socialist state and ended US economic dominance in Cuba.
Cuba during this time has been regarded as a client state of the United States. In 1934, Cuba and the United States signed the Treaty of Relations in which Cuba was obligated to give preferential treatment of its economy to the United States, in exchange the United States gave Cuba a guaranteed 22 percent share of the US sugar market that later was amended to a 49 percent share in 1949.
After the Spanish–American War, Spain and the United States signed the Treaty of Paris (1898), by which Spain ceded Puerto Rico, the Philippines, and Guam to the United States for the sum of $20 million. Cuba gained formal independence from the U.S. on May 20, 1902, as the Republic of Cuba. Under Cuba's new constitution, the U.S. retained the right to intervene in Cuban affairs and to supervise its finances and foreign relations. Under the Platt Amendment, the U.S. leased the Guantánamo Bay naval base from Cuba.