Panama (Spanish: Panamá), officially the Republic of Panama (Spanish: República de Panamá), is the southernmost country of Central America and the whole of North America. Situated on the southern tip isthmus connecting North and South America, it is bordered by Costa Rica to the west, Colombia to the southeast, the Caribbean to the north, and the Pacific Ocean to the south. Its capital is Panama City, whose metropolitan area is home to nearly half the country's over 4 million inhabitants.
Explored and settled by the Spanish in the 16th century, Panama broke with Spain in 1821 and joined a union of Nueva Granada, Ecuador, and Venezuela, named the Republic of Gran Colombia. When Gran Colombia dissolved in 1831, Panama and Nueva Granada remained joined. Nueva Granada later became the Republic of Colombia. With the backing of the United States, Panama seceded from Colombia in 1903, allowing the Panama Canal to be built by the U.S. Army Corps of Engineers between 1904 and 1914. In 1977, an agreement was signed for the complete transfer of the Canal from the United States to Panama by the end of the 20th century.
Revenue from canal tolls represents today a significant portion of Panama's GDP. Panama has the third- or fourth-largest economy in Central America and it is also the fastest growing economy and the largest per capita consumer in Central America. In 2013, Panama ranked 4th among Latin American countries in terms of the Human Development Index, and 59th in the world. Since 2010, Panama remains as the second most competitive economy in Latin America according to the Global Competitiveness Index from the World Economic Forum. Panama's jungle is home to an abundance of tropical plants, animals, and birds – some of them to be found nowhere else in the world.