The United Nations' highest court ruled Thursday that it has jurisdiction to hear a case on giving access to the Pacific Ocean for land-locked Bolivia.
The South American nation lost its access to the ocean during the War of the Pacific that it fought with Chile in 1879-83.
Bolivia asked the International Court of Justice in 2013 to order Chile to negotiate over Bolivia's claim to at least part of the 240-mile (400-kilometer) strip of the Pacific coast. Chile responded that the court had no jurisdiction, arguing in part that a 1904 peace treaty between the two countries settled their borders.
The court's judges rejected Chile's claim by 14-2 vote, meaning the case can now be heard, a process likely to take many months. The ICJ's rulings are final and binding.
In Bolivia, President Evo Morales ordered that public offices raise flags asserting Bolivia's claim to the sea. In a square near the presidential palace in La Paz, hundreds gathered to celebrate, singing the national anthem and holding signs proclaiming "Sea for Bolivia."
Morales said in a national address that the court's decision was received with "humility" and "certainty" that justice would prevail.