 Also, Nicolás de Piérola fled to the Andes, as many of his officers did.Among these officers was Col. Andres Caceres, who led the resistance in the mountains against the Chilean occupation.Another three years of war were necessary until the decisive Chilean victory at Huamachuco, on 1883.