Switzerland facilitated the swap. Iranian Foreign Minister Mohammad Javad Zarif met Soleimani in Zurich, state news agency IRNA said. Soleimani, who then flew to Iran, was accompanied to Switzerland by Brian Hook, the U.S. special representative for Iran, according to a U.S. official.
Soleimani sounds like he hates the US for existing.
https://www.newsweek.com/who-are-americans-currently-detained-iran-659182