US Army Sergeant Bowe Bergdahl, held for nearly five years by the Taliban, is now in US custody, President Barack Obama said on Saturday.
As part of Bergdahl's release, the United States is turning over five Taliban detainees at the US facility in Guantanamo, Cuba, to the custody of Qatar, US officials said.
Bergdahl's freedom follows months of indirect US-Taliban talks with Qatar acting as intermediary, the officials said.
More top news
The anti-war President is now in combat in two Middle Eastern countries.
Prince Harry received a great big hug from four-year-old Carson Hartley.
The mother of "bucket list" cancer patient Stephen Sutton has said signs of her son's illness were "ignored".