Secretary of State Marco Rubio on Sunday announced the release of Amir Amiry from an Afghanistan prison. File Photo by Al Drago/UPI | License Photo

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.