Costa Rica–Mexico relations peaceful resolution. This was known as the "Pacto de la embajada de México". The war ended in April 1948 and Costa Rica entered into its 'Second Republic.' During the central-American wars taking place in neighboring El Salvador, Guatemala and Nicaragua; both Costa Rica and Mexico led mediation dialogues between warring factions in each nation in order to bring peace and stability to the region. Mexico (along with Colombia, Panama and Venezuela) created the Contadora Group which helped create the framework for the Esquipulas Peace Agreement, led by Costa Rica's President Oscar Arias. Presidential visits from Costa Rica to Mexico Presidential
Foreign relations of Costa Rica election as President of the Group of 77 in the United Nations in 1995. That term ended in 1997 with the South-South Conference held in San Jose. Costa Rica occupied a nonpermanent seat in the Security Council from 1997 to 1999 and exercised a leadership role in confronting crises in the Middle East and Africa, as well as in the former Socialist Federal Republic of Yugoslavia. It is currently a member of the United Nations Commission on Human Rights. On Jan. 1 2008 Costa Rica started its third year term on the Security Council. Costa Rica strongly backed efforts by