 After the battle, Lima surrendered and the Chilean army entered in the "City of the Viceroys" on January 17, 1881.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.