Coordinates: 10°S 76°W / 10°S 76°W / -10; -76
Peru (i/pəˈruː/; Spanish: Perú [peˈɾu]; Quechua: Piruw [pɪɾʊw];Aymara: Piruw [pɪɾʊw]), officially the Republic of Peru (Spanish: República del Perú ), is a country in western South America. It is bordered in the north by Ecuador and Colombia, in the east by Brazil, in the southeast by Bolivia, in the south by Chile, and in the west by the Pacific Ocean. Peru is an extremely biodiverse country with habitats ranging from the arid plains of the Pacific coastal region in the west to the peaks of the Andes mountains vertically extending from the north to the southeast of the country to the tropical Amazon Basin rainforest in the east with the Amazon river.
Peruvian territory was home to ancient cultures spanning from the Norte Chico civilization in Caral, one of the oldest in the world, to the Inca Empire, the largest state in Pre-Columbian America. The Spanish Empire conquered the region in the 16th century and established a Viceroyalty with its capital in Lima, which included most of its South American colonies. Ideas of political autonomy later spread throughout Spanish America and Peru gained its independence, which was formally proclaimed in 1821. After the battle of Ayacucho, three years after proclamation, Peru ensured its independence. After achieving independence, the country remained in recession and kept a low military profile until an economic rise based on the extraction of raw and maritime materials struck the country, which ended shortly before the war of the Pacific. Subsequently, the country has undergone changes in government from oligarchic to democratic systems. Peru has gone through periods of political unrest and internal conflict as well as periods of stability and economic upswing.