The Boundary treaty of 1881 between Chile and Argentina had been a major success in laying the groundwork for nearly all of Chile's and Argentina's 5600 kilometers of shared borders, but the drawing a boundaries in the largely unexplored inland Patagonia soon became a major source of territorial disputes.