Nicaragua ( ( listen); Spanish: [nikaˈɾaɣwa]), officially the Republic of Nicaragua (Spanish: República de Nicaragua ), is the largest country in the Central American isthmus, bordered by Honduras to the northwest, the Caribbean to the east, Costa Rica to the south, and the Pacific Ocean to the southwest. Managua is the country's capital and largest city and is also the third-largest city in Central America, behind Tegucigalpa and Guatemala City. The multi-ethnic population of six million includes people of indigenous, European, African, and Asian heritage. The main language is Spanish. Native tribes on the Mosquito Coast speak their own languages and English.
Originally inhabited by various indigenous cultures since ancient times, the Spanish Empire conquered the region in the 16th century. Nicaragua gained independence from Spain in 1821. The Mosquito Coast followed a different historical path, with the English colonizing it in the 17th century and later coming under the British rule, as well as some minor Spanish interludes in the 19th century. It became an autonomous territory of Nicaragua in 1860 and the northernmost part of it was later transferred to Honduras in 1960. Since its independence, Nicaragua has undergone periods of political unrest, dictatorship, occupation and fiscal crisis, leading to the Nicaraguan Revolution of the 1960s and 1970s and the Contra War of the 1980s. Nicaragua is a representative democratic republic.
The mixture of cultural traditions has generated substantial diversity in folklore, cuisine, music, and literature, particularly the latter given the literary contributions of Nicaraguan poets and writers, such as Rubén Darío. Known as the "land of lakes and volcanoes", Nicaragua is also home to the second-largest rainforest of the Americas. The country has set a goal of 90% renewable energy by the year 2020. The biological diversity, warm tropical climate and active volcanoes make Nicaragua an increasingly popular tourist destination.