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
Demographics of Costa Rica primary schools and 377,900 students attended public and private secondary schools. Costa Rica's main universities are the University of Costa Rica, in San Pedro and the National University of Costa Rica, in Heredia. Costa Rica also has several small private universities. Costa Rica's emigration is among the smallest in the Caribbean Basin. About 3% of the country's people live in another country as immigrants. The main destination countries are the United States, Spain, Mexico and other Central American countries. In 2005, there were 127,061 Costa Ricans living in another country as immigrants. Remittances were $513,000,000 in 2006 and they represented