Between 1861 and 1871 Chile incorporated several Mapuche territories in Araucanía. In January 1881, having decisively defeated Peru in the battles of Chorrillos and Miraflores, Chile resumed the conquest of Araucanía.