Peru maintains an integrated relationship with other South American nations, and is a member of various South American intergovernmental agreements, more recently the Organization of American States, Mercosur, the Andean Community of Nations, the Pacific Alliance, and the APEC. Peru has historically experienced stressed relations with Chile, including the Peru v Chile international court resolution and the Chilean-Peruvian maritime dispute, but the two countries have agreed to work in improving relations.