President Barack Obama has ended the longstanding "wet foot, dry foot" policy that allows Cubans who arrive in the United States without a visa to become permanent residents, the administration announced Thursday. The move, which wasn't previously outlined and is likely one of the final foreign policy decisions of Obama's term, terminates a decades-long policy that many argued amounted to preferential treatment for a single group of migrants. "By taking this step, we are treating Cuban migrants the same way we treat migrants from other countries," Obama wrote in a statement Thursday. The US also said Cuba had agreed as part of the announcement to accept migrants who were turned away from the United States back into the country. The decision was likely Obama's last move in his historic dealings with Cuba. In 2014, President Obama reopened ties to the island nation after a half-century of frozen diplomatic ties.