Having decisively defeated Peru in the battles of Chorrillos and Miraflores in January 1881 Chilean authorities turned their attention to the southern frontier in Araucanía seeking to defend the previous advances that had been so difficult to establish. The idea was not only to defend forts and settlements but also to advance the frontier all the way from Malleco River to Cautín River.