Five Americans who had been imprisoned in Iran were allowed to leave the country on Monday, President Biden said, after two years of high-stakes negotiations in which the United States agreed to unfreeze $6 billion in Iranian oil revenue and dismiss federal charges against five Iranians accused of violating U.S. sanctions.
The announcement that the Americans took off in a plane from Tehran just before 9 a.m. Eastern came as Mr. Biden and Ebrahim Raisi, Iran’s president, were to attend the annual United Nations General Assembly meeting of world leaders in New York on Tuesday.
The five Americans — some of whom had been held for years in Evin Prison, one of the most notorious detention centers in Iran — flew to Doha, the capital of Qatar, for a Cold War-style exchange with two of the five Iranians. Three others declined to return to Iran, according to U.S. officials.
In a statement, Mr. Biden said that “five innocent Americans who were imprisoned in Iran are finally coming home.”
He added that the prisoners “will soon be reunited with their loved ones — after enduring years of agony, uncertainty and suffering. I am grateful to our partners at home and abroad for their tireless efforts to help us achieve this outcome, including the governments of Qatar, Oman, Switzerland and South Korea.”
Siamak Namazi, one of the five freed Americans, said in a statement that he had been dreaming of freedom for almost eight years as he experienced “torment” for 2,898 days in prison.
“My heartfelt gratitude goes to President Biden and his administration, which had to make some incredibly difficult decisions to rescue us,” he said in the statement. “Thank you President Biden for ultimately putting the lives of American citizens above politics. Thank you for ending this nightmare. Thank you for bringing us home.”
The Americans will be given a brief medical checkup in Doha before boarding a U.S. government plane back to Washington, officials said.
At the same time as the prisoner exchange, the United States informed Iran that it had completed the transfer of about $6 billion in Iranian oil revenue from South Korea to a Qatari bank account.
“This action was taken strictly to address a humanitarian need,” Mr. Raisi told journalists in New York on Monday. He added, “These were funds that belonged to the people of Iran.”
Top aides to Mr. Biden have said financial sanctions and strict monitoring will prevent Iran from spending the money on anything except food, medicine and other humanitarian goods. But they acknowledge that the deal might free up money that Iran is already spending on those items for other purposes.
The terms of the deal have generated intense criticism from Republicans, who accused Mr. Biden of helping to finance Iran’s terrorist activities around the world.
“Iran’s leaders will take the money and run,” Senator Tom Cotton, Republican of Arkansas, wrote last week on X, the social media platform formerly called Twitter. “What on earth did Joe Biden think would happen?”
Administration officials have said the agreement with Iran was the only way to win the release of the five Americans, who the United States said had been wrongfully detained by the Iranians in deplorable conditions.
The Americans — Mr. Namazi, Emad Sharghi and Morad Tahbaz, as well as two others who have not been named at their families’ request — had been jailed on unsubstantiated charges of spying. They had spent the last several weeks in Iran in home detention after Tehran agreed to release them from prison while the $6 billion transfer, a complicated process, was completed.
American officials said that Mr. Namazi’s mother and Mr. Tahbaz’s wife are also on the plane out of Iran. Both women are Americans and had been previously prevented from leaving Iran by the government there.
The deal comes as part of a larger effort by the Biden administration to de-escalate tensions with Iran, which had soared in the years since President Donald J. Trump abandoned the 2015 Iran nuclear deal, which placed limits on Tehran’s nuclear program in exchange for sanctions relief.
The release took place two days after the first anniversary of the uprising in Iran that erupted after the death of 22-year-old Mahsa Amini in the custody of the country’s morality police. Hundreds were killed in the ensuing government crackdown, including at least 44 minors, while around 20,000 Iranians were arrested, the United Nations calculated. In the past few weeks, the government has arrested dozens of dissidents and activists in an attempt to prevent a fresh round of protests.
Critics of Iran’s government say Iran most likely timed the release to distract the news media from the anniversary of the protests and to provide Mr. Raisi with a tangible foreign policy success as he meets world leaders and conducts rounds of interviews in New York.
“The international attention is now diverted from the ongoing horrific human rights situation in the country,” said Hadi Ghaemi, the executive director of the Center for Human Rights in Iran, a New York-based advocacy group. “To coincide with the anniversary of the uprising in Iran is seen as a slap in the face of Iranian people inside the country and has angered many.”
But officials at Iran’s mission to the United Nations dismissed the criticism, saying that the timing of the American detainees’ release was conditional on the $6 billion arriving in the Doha bank account and that Iran did not control that process.
Only some of the Iranians involved in the deal were jailed in the United States, though all of them faced federal charges. Those charges will be dropped under the terms of the deal.
Several of them are permanent residents of the United States. American officials said that two of the jailed Iranians decided to return to Iran on Monday. Iran’s foreign ministry spokesman Naser Kanaani said that two would remain in the U.S. and one would return to a third country where he has family.
The Iranians were identified as Kaveh Afrasiabi, 65, who was charged with being an unregistered lobbyist; Reza Sarhangpour Kafrani, 48, a dual Iranian Canadian citizen charged with exporting lab equipment for Iran’s nuclear program; Mehrdad Ansari, who is serving a five-year prison sentence for obtaining military gear; Kambiz Attar Kashani, 45, a dual Iranian American businessman who pleaded guilty to conspiring to illegally export technologies; and Amin Hasanzadeh, who was charged with stealing sensitive technical plans.
Mr. Hasanzadeh has said he will return to Iran.
Negotiations to release the Americans accelerated in the spring, according to people familiar with the discussions, when Brett H. McGurk, the coordinator for the Middle East and North Africa at the White House, met with officials in Oman in early May.
In August, after Iran released the Americans to house arrest, U.S. officials said they would not celebrate until the Americans were out of Iran and on friendly soil.
“Of course, we will not rest until they are all back home in the United States,” Adrienne Watson, a spokeswoman for the National Security Council at the White House, said at the time.
The Biden administration has made considerable efforts during the last three years to win the release of Americans held in other countries.
In March, the United States secured the release of Paul Rusesabagina, a human-rights activist detained in Rwanda. In December, Russia agreed to release Brittney Griner, an American basketball star, in exchange for Viktor Bout, a convicted Russian arms dealer known as the “Merchant of Death.”
But other Americans remain in detention. In March, Russia accused the Wall Street Journal reporter Evan Gershkovich of espionage and detained him. Mr. Biden has said that his administration is working to secure Mr. Gershkovich’s release.
In his statement on Monday, the president vowed to continue working to secure the release of wrongfully held people worldwide.
“Too many remain unjustly held in Russia, Venezuela, Syria and elsewhere around the world,” he said. “We remain unflinching in our efforts to keep faith with them and their families — and we will not stop working until we bring home every American held hostage or wrongfully detained.”