US President Donald Trump said Wednesday that arch foe Iran has freed an American citizen detained since December 2024 and allowed her to leave the country.