sentences:  The conflict was concurrent with Argentine campaigns against the Mapuche (1878–1885) and Chile's wars with Spain (1865–1866) and with Peru and Bolivia (1879–1883).The Mapuche people had a history of resistance to Spanish conquest with the area known as Araucanía remaining "de facto" independent through the colonial era.Following an independence from Spain relations between the nascent republic and the Mapuches of Araucanía remained mostly amicable.