Sept. 29 (UPI) — U.S. Secretary of State Marco Rubio has announced the release of a U.S. citizen who was considered wrongly detained in Afghanistan.

The United States’ top diplomat announced the return home of Amir Amiry in a statement on Sunday.

“We express our sincere gratitude to Qatar, whose strong partnership and tireless diplomatic efforts were vital to securing his release,” he said.

The Taliban on Sunday also confirmed the release of Amiry from prison.

Afghanistan’s foreign ministry posted photos of U.S. special envoy Adam Boehler with its minister, Mawlawi Amir Khan Muttaqi, on X, calling Amiry’s release “a positive step” in diplomacy.

The conditions for Amiry’s release were not stated.

Qatar’s foreign ministry earlier confirmed Amiry’s release from Afghan detention, stating he was en route to Doha and would be leaving for the United States at a later time.

“Qatar remains committed to advancing mediation efforts aimed at achieving peaceful solutions to conflicts and complex international issues — an approach rooted in the state’s foreign policy, which prioritizes dialogue as a strategic choice for promoting regional and global peace and stability,” it said in a statement.

Amiry was reportedly detained in December 2024.

The release comes after two U.S. citizens held by the Taliban were released in a prison swap with the United States in January. In March, an American citizen detained in Afghanistan since 2022 was also released.