"While Bowe was gone, he was never forgotten," President Barack Obama said in a statement from the White House Rose Garden, where he was joined by Bergdahl's parents. "The United States of America does not ever leave our men and women in uniform behind."
Bergdahl's handover followed indirect negotiations between the U.S. and the Taliban, with the government of Qatar serving as the go-between. Qatar is taking custody of the five Afghan detainees who were held at Guantanamo.
Several dozen U.S. special operations forces, backed by multiple helicopters and surveillance aircraft, flew into Afghanistan by helicopter and made the transfer with the approximately 18 Taliban members. Officials said the commandos were on the ground for a short time before lifting off with Bergdahl.
According to a senior defense official, once Bergdahl climbed onto the noisy helicopter, he took a pen and wrote on a paper plate, "SF?" — asking the troops if they were special operations forces.
They shouted back at him over the roar of the rotors: "Yes, we've been looking for you for a long time."
Then, according to the official, Bergdahl broke down.
Bergdahl, of Hailey, Idaho, is believed to have been held by the Haqqani network since June 30, 2009. Haqqani operates in the Afghanistan-Pakistan border region and has been one of the deadliest threats to U.S. troops in the war.
The network, which the State Department designated as a foreign terrorist organization in 2012, claims allegiance to the Afghan Taliban, yet operates with some degree of autonomy.
Officials said Bergdahl was initially taken to Bagram Air Field, the main U.S. base in Afghanistan, for medical evaluations, and was being transferred to Landstuhl Regional Medical Center, a military facility in Germany, for additional care before he returns to the United States.
The official said Bergdhal was tentatively scheduled to go to the San Antonio Military Medical Center where he would be reunited with his family. The military was working Saturday to connect Bergdahl with his family over the telephone or by video conference.
The U.S. believes Bergdahl was held for the bulk of his captivity time in Pakistan, but officials said it was not clear when he was transported to eastern Afghanistan.
All of the officials insisted on anonymity in order to discuss details of Bergdahl's transfer.
Bergdahl's parents, Bob and Jani, had been in Washington on a previously scheduled visit when they received a call Saturday from Obama informing them that their son had been freed.
As they stood with Obama in the Rose Garden hours after their son's release, Bob Bergdahl, who grew a long, thick beard to honor his son, said Bowe Bergdahl was having trouble speaking English after his rescue. The elder Bergdahl had worked to learn Pashto, the language spoken by his son's captors, and delivered him a message in that language.
Switching back to English, he said "the complicated nature of this recovery will never really be comprehended."