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
Costa Rica–Spain relations include: Boilers, machines, appliances and mechanical devices; manufactures of cast iron or steel; machines, appliances and electrical equipment and miscellaneous products of the chemical industries. Spain is Costa Rica's fifth largest foreign investor with investments totaling $120 million USD in 2015. Spanish multinational companies such as Mapfre, Telefónica and Zara operate in Costa Rica. Costa Rica–Spain relations Costa Rica–Spain relations refers to the diplomatic relations between Costa Rica and Spain. Both nations are members of the Association of Academies of the Spanish Language and the Organization of Ibero-American States. In September 1502, explorer Christopher Columbus arrived to eastern Costa Rica