During the Occupation of Araucanía the Republic of Chile advanced the frontier south from Bío Bío River to Malleco River where a well defended line of forts was established between 1861 and 1871.