Several Latin American nations formed the Contadora Group to work for a resolution to the region's wars. Later, Costa Rican President Óscar Arias succeeded in convincing the other Central American leaders to sign the Esquipulas Peace Agreement, which eventually provided the framework for ending the civil wars.