Economic history of Peru market. By the mid-19th century, the reversal of the socioeconomic hierarchy was complete; Peru would not recover its Viceroyalty-era supremacy (Mahoney, 86). Peru embarked on a railroad building program. Henry Meiggs built a standard gauge line from Callao across the Andes to the Interior, Huancayo; striking for Cuzco he built the line 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
Protectorate of Peru of the 1780-1781 uprising by indigenous leader Túpac Amaru II and the earlier removal of Upper Peru and the Río de la Plata regions from the Viceroyalty of Peru. Because of this the viceroy often had the support of the "Lima oligarchy," who saw their elite interests threatened by popular rebellion and were opposed to the new commercial class in Buenos Aires. During the first decade 1800s Peru had been a stronghold for royalists, who fought those in favor of independence in Perú, Upper Peru, Quito and Chile. Among the most important events during the war was the proclamation of