Cuba, officially the Republic of Cuba, is an island country, comprising the island of Cuba (largest island), Isla de la Juventud, and 4,195 islands, islets and cays surrounding the main island. It is located where the northern Caribbean Sea, Gulf of Mexico, and Atlantic Ocean meet. Cuba is located east of the Yucatán Peninsula (Mexico), south of both Florida and the Bahamas, west of Hispaniola (Haiti/Dominican Republic), and north of Jamaica and the Cayman Islands. Havana is the largest city and capital. Cuba is the third-most populous country in the Caribbean after Haiti and the Dominican Republic, with about 10 million inhabitants. It is the largest country in the Caribbean by area.
The territory that is now Cuba was inhabited as early as the 4th millennium BC, with the Guanahatabey and Taíno peoples inhabiting the area at the time of Spanish colonization in the 15th century. It was then a colony of Spain, through the abolition of slavery in 1886, until the Spanish–American War of 1898, when Cuba was occupied by the United States and gained independence in 1902. In 1940, Cuba implemented a new constitution, but mounting political unrest culminated in the 1952 Cuban coup d'état and the subsequent dictatorship of Fulgencio Batista. The Batista government was overthrown in January 1959 by the 26th of July Movement during the Cuban Revolution.