Cuba has agreed to restore diplomatic relations with Costa Rica, just one day after Costa Rican President Oscar Arias announced his country would re-establish the ties.
In a statement Thursday, Cuba's foreign ministry said the Cuban government's decision is "consistent" with its "mission of integration and unity" with the people of Latin America and the Caribbean.
Relations between Cuba and Costa Rica were cut off in 1961, shortly after the Cuban Revolution, which brought Fidel Castro to power and turned the island into a communist state.
Announcing the renewal of ties almost 50 years later, President Arias said times have changed and that Costa Rica must change.
El Salvador's President-elect Mauricio Funes announced he will also re-open ties with Cuba after he takes office June 1.
The announcements come about a week before U.S. Vice President Joe Biden visits Costa Rica to consult with Central American leaders ahead of the Summit of the Americas next month.
U.S. President Barack Obama is scheduled to attend the gathering, which will be held in Trinidad and Tobago.