On January 13, 1881 the 20,000 Chilean troops charged 14,000 Peruvian defenders in Chorrillos. During the Battle of Chorrillos, the Chileans inflicted a harsh defeat to the Peruvian army and eliminated the first defensive line guarding Lima. Two days later, on January 15, 1881, after the triumph in the Battle of Miraflores the Chilean army entered Lima.