After taking in six former Guantanamo Bay prisoners, Uruguay has announced it will no longer accept any more released detainees.

The policy reversal comes weeks after President Jose Mujica left office.

On Monday the Uruguayan government announced it will no longer take released detainees from Guantanamo Bay, according to AFP. Foreign Affairs Minister Rodolfo Nin Novoa said: "No more Guantanamo prisoners are going to come. That's final."

Uruguay has six former prisoners currently residing in the country -- four Syrians, a Palestinian and a Tunisian. They arrived in the South American nation in Dec. 6, after being cleared for release. They had been imprisoned for more than a decade without charge.

According to the BBC, the six men came to Uruguay thanks to former President Mujica, who left office on March 1. Minister Nin Novoa also announced the country will stop taking Syrian refugees "just until the end of the year."

The former prisoners -- Abu Wael Dhiab, Ali Husain Shaaban, Ahmed Adnan Ajuri, and Abdelhadi Faraj from Syria; Palestinian Mohammed Abdullah Taha Mattan; and Adel bin Muhammad El Ouerghi from Tunisia -- have struggled to adapt.

Former President Mujica said the men had not adapted to life in Uruguay, after visiting them.

"They are clearly struggling with the [Spanish] language," he said. "They've had problems adapting here, not only because they come from different cultures but also because they bear the scars of living for so many years in isolation and in inhospitable conditions."

According to the Associated Press, the men have struggled with health problems stemming from their imprisonment, including anxiety, stomach bacterial problems, and blurred vision. The men want to find employment and some have hopes of opening their own businesses in the country.

After the announcement, former President Mujica said the new Tabare administration's decision was the fault of the U.S, according to EFE.

"There was no agreement to accept more (former inmates)," he explained, but added that "the inconsistency in North American policy" could be one of new government's reasons for its decision.