There have been many arguments between Chileans and Peruvians since the 1800s because they both claim boundary coastal lines. Peruvians claim the Northern part of Chile, which is now South West of Peru. This is also known as the "triangulation" which was made to fix the boundary problem between Chile and Peru. The decisions were accomplished on 27 January 1839 by the International Court of Justice This became the War of the Pacific which was in the years 1879–1883. This conflict was caused by the mineral resources Chile had, Peruvians believed they belonged to them as well. Chile had to control sea shipping to Peru and sent out an army to invade Peru on 8 October 1879. The attempt was also made to The United States but failed badly in October 1880. There was a resistance between Peruvians and Chileans for a few years because they could not reach an agreement. The United States offered help with a treaty for both Peru and Chile, better known as the Treaty of Ancón. This was later signed by both of them on 20 October 1883 to keep peace between them. In 2008, Peru took Chile to court over their maritime disputes. Then later in 2014, the International Court of Justice's ruling resulted in Chile losing an area of over from its coast. This ruling severely impacted fishers in the country making Chile lose a valuable trade in Northwest Chile.