Inundated with thousands of Cuban migrants trying to make their way to the United States, Central American nations have agreed upon a program which will allow Cubans who are stranded in Costa Rica to reach their U.S. destination.

According to the BBC, the migrants will be airlifted to El Salvador and put on buses which will then take them to the U.S.

Foreign ministers from various Latin American countries met in Guatemala City to try to find a solution to the Cuban migrant crisis. Reuters reports officials from Panama, El Salvador, Guatemala, Honduras, Belize, Mexico, Costa Rica and the International Organization for Migration participated in the meeting. They agreed to make the first humanitarian transfer in January.

The surge in Cubans trying to get into the U.S. is linked to the thaw in recent relations between the U.S. and the communist nation.

As it stands now, Cuban migrants who arrive at the U.S. border by land are allowed to enter the country and apply for residency. As diplomatic relations between the two countries grows better and more predictable, many Cubans fear that the preferential treatment given to them by the U.S. will soon end.

Cuban Foreign Minister Bruno Rodriguez has voiced his feeling that the U.S. should amend its policy regarding Cuban migrants. "I strongly believe that the politicization of U.S. migration policy toward Cuba must change," he said.

According to the Cuban government, around 7,000 Cuban migrants have been stranded in Costa Rica since Nov. 14.

The Pope recently addressed the plight of Cuban migrants stuck in Central America while speaking before a crowd of thousands gathered at the Vatican's St Peter's Square. According to the BBC, Francis said, "I invite the countries of the region to renew with generosity all necessary efforts in order to find a rapid solution to this humanitarian drama."