Kilmar Ábrego García has left the US for Spain, taking a commercial flight on Tuesday after months of legal and political battles over his deportation.

The government acknowledged that it had wrongly deported Ábrego García to El Salvador in March 2025. He was returned to the US under a Supreme Court order and faced human trafficking charges, which a federal judge later dismissed, saying he had been charged for political reasons.

The Trump administration continued trying to deport him elsewhere, including to Uganda and Ghana. Ábrego García had said he was willing to go to Costa Rica, whose government had agreed to accept him as a refugee and provide legal status. After reports that the administration was considering Uganda, a judge barred his deportation to a third country. The administration also asked the judge to lift the order so it could deport him to Liberia, CBS reported.

His deportation and return became a flashpoint in the debate over President Donald Trump's immigration agenda. Ábrego García, who is married to a US citizen and lived in Maryland, came to the US illegally from El Salvador as a teenager.

He was arrested in 2019 alongside three other men and detained by federal immigration authorities. A judge granted him protection from deportation to El Salvador, citing the risk of persecution by a gang there. In 2025, he was held at Cecot, a prison known for its harsh conditions.

Senator Chris Van Hollen, a Democrat from Maryland, visited Ábrego García at Cecot in 2025 and advocated for his release. In a statement on Tuesday, Van Hollen said: "A year and a half ago, the Trump Administration wanted to leave Kilmar Ábrego García to rot in a Salvadoran gulag. Today, Kilmar is travelling to a country of his choice, a free man - unharmed and with dignity."

Ábrego García's lawyer said his departure was "temporary" because he had "many options to return to the United States". The lawyer's statement said: "We don't expect that to happen under this administration, which we know will never give him a fair shake, but we expect that the next administration will prioritize reunifying this family and bringing him back to Maryland."

The statement added: "Where he goes from here, where he chooses to settle for the next two years while he waits out the end of this administration, will be his choice, not the administration's choice."

The BBC has contacted the US Department of Homeland Security for comment.