Input (grade 13): Peru and Chile signed the Treaty of Ancón, by which the Tarapacá province is ceded to the latter, bringing an end to Peru's involvement in the War of the Pacific.
Output (grade 6): Peru's involvement in the War of the Pacific.