Peru was heavily indebted, and political in-fighting was again on the rise. Peru embarked on a railroad-building program that helped but also bankrupted the country. In 1879, Peru entered the War of the Pacific which lasted until 1884. Bolivia invoked its alliance with Peru against Chile. The Peruvian Government tried to mediate the dispute by sending a diplomatic team to negotiate with the Chilean government, but the committee concluded that war was inevitable. Chile declared war on 5 April 1879. Almost five years of war ended with the loss of the department of Tarapacá and the provinces of Tacna and Arica,
Economy of Peru the highest in Latin America, and this repeated in 2008 with a 9.8% rate; in 2006 and 2007, the Lima Stock Exchange grew by 185.24% After the 2000s commodities boom began to decline, Peru was one of few Latin American countries which successfully utilized the influx of commodity funds by choosing to "fill sovereign-wealth funds, to build stockpiles of foreign-exchange reserves or to pursue broader economic reforms". Peru is a country with many climates and geographical zones that make it a very important agricultural nation. Peru agricultural exports are highly appreciated and include artichokes, grapes, avocados, mangoes, peppers, sugarcane, organic