Chinese-American researcher convicted of spying in Iran is to be freed in an apparent exchange for the release of an Iranian scientist held by the United States.
Xiyue Wang was arrested in Iran in 2016 for "collaborating with foreign governments".
Massoud Soleimani, a stem cell expert, was arrested at Chicago airport last year.
He was accused of attempting to export biological materials to Iran.
Both deny the charges.
"Glad that Professor Massoud Soleimani and Mr Xiyue Wang will be joining their families shortly," Iranian Foreign Minister Mohammad Javad Zarif tweeted.
In a statement, US President Donald Trump said Mr Wang had been "held under the pretence of espionage".
"Freeing Americans held captive is of vital importance to my Administration, and we will continue to work hard to bring home all our citizens wrongfully held captive overseas," the statement said.