KABUL, Afghanistan -- As a tense-looking Sgt. Bowe Bergdahl was handed over to U.S. forces, one of his Taliban captors warned him: "Don't come back to Afghanistan. You won't make it out alive next time."
Then, the American soldier, wearing traditional loose-fitting Afghan trousers and a long tunic, was led away to a U.S. military helicopter, where he was patted down for explosives or other weapons before he was allowed to climb aboard.
The weekend handover was documented in a 17-minute video emailed to news organizations Wednesday by the Taliban, which touted the exchange of Bergdahl for five Guantanamo detainees as a victory, while debate rages in the U.S. over the deal and whether the 28-year-old from Hailey, Idaho, should be punished as a deserter.
U.S. lawmakers and others have complained that Congress should have been consulted, that the prisoner swap will embolden the Taliban to snatch more American soldiers, and that the released Afghans will filter back to the battlefield.
In Washington, Rob Williams, the U.S. national intelligence officer for South Asia, told the Senate intelligence committee Tuesday that four of the men are expected to resume activities with the Taliban, according to two senior congressional officials who spoke on condition of anonymity because the session was classified.
Under the terms of the swap, the five Taliban detainees will have to stay for a year in Qatar, where officials gave assurances that the men will be monitored.
The five were some of the most senior Afghans held at Guantanamo.
They include the former Taliban interior minister, who was described in a U.S. case file leaked by WikiLeaks as having had close ties to Osama bin Laden; a commander whose file says he was present at a 2001 prison riot that led to the death of CIA operative Johnny Michael Spann; the Taliban's former deputy chief of intelligence; and a former member of a joint Taliban-al-Qaida cell described in U.S. documents as "one of the most significant former Taliban leaders" held at Guantanamo.
In Qatar, the men will be in a position to communicate with comrades in Afghanistan, one of the senior congressional aides said.
"They are going to be able to see whoever they want, so they will be able to communicate by courier," the official said.
The video of Bergdahl after five years in captivity shows a well-choreographed release, with the American sitting in a silver pickup truck while more than a dozen Taliban fighters with machine-guns and faces largely covered by scarves stand guard nearby and on a rocky desert hill overlooking the site.
A thin-looking Bergdahl, his head shaved, blinks frequently and looks tense as he peers out of the truck. At one point, he wipes his eye as if to get rid of some dust.
A Black Hawk helicopter then lands, and two Taliban fighters, one carrying a white cloth tied to a stick, lead Bergdahl, now wearing a grey shawl and carrying a plastic bag, halfway toward the chopper.
Three apparent members of U.S. special operations forces approach the group, shake hands with the two Taliban fighters and lead Bergdahl toward the helicopter.
One of the three men then pats down Bergdahl, while another takes the plastic bag from him and drops it on the ground. Then they all climb into the helicopter.
According to a voiceover on the video, the handover took place around 4 p.m. Saturday in Khost province, near the Pakistani border.
As the helicopter approaches, one of the Taliban men is heard warning Bergdahl not to come back. "You won't make it out alive next time," the man says in Pashto as some of the other fighters are heard laughing.
As if to underscore the point, similar words appear on the video in broken English: "Don come back to afghanistan."
Back in the U.S., Sue Martin, a friend of the Bergdahl family and owner of Zaney's Coffee Shop in Hailey, said Bergdahl's appearance in the video shocked her. She said he looked frail, tired and damaged.
"That's not the Bowe who left here and lived here," Martin said.
Bergdahl was reported to be in stable condition at a military hospital in Germany.
A Taliban statement, also distributed to the media, quoted leader Mullah Mohammad Omar as saying the release of the five Taliban was a significant achievement for the movement.
President Barack Obama has defended the swap, citing a "sacred" obligation to not leave men and women in uniform behind.
On Capitol Hill, Obama's goal of closing the Guantanamo Bay prison in Cuba faced re-energized opposition from Republicans and increased questioning from fellow Democrats in reaction to the trade.
Obama appeared to be making headway last month when a Senate panel approved greater authority for him to transfer suspected terrorists to the U.S.
But the Bergdahl trade has driven a new wedge between the president and lawmakers of both parties who accuse the Obama administration of breaking the law by engineering the swap without 30 days' notice to Congress.
Hoping to ease mounting criticism, officials from the State Department, Pentagon and intelligence agencies planned a private briefing with senators Wednesday evening.
Some of Bergdahl's former comrades have complained that U.S. soldiers died during the search for him after he walked away from his base, unarmed, in 2009. The military has not confirmed such a link.
U.S. Defence Secretary Chuck Hagel said Wednesday that the Army will review the case, and he cautioned against drawing conclusions until that is done.
"It's not in the interests of anyone, and certainly I think a bit unfair to Sgt. Bergdahl's family ... to presume anything. We don't do that in the United States. We rely on facts," he said at a NATO defence ministers meeting in Brussels.
Lee Ann Ferris, who lives next door to the Bergdahls in Hailey and watched Bowe Bergdahl grow up, said the town is trying not to pay attention to the criticism of the soldier and the discussion about how he fell into Taliban hands.
"It's like a modern-day lynching. He hasn't even been able to give his side of the story yet. This community will welcome him back no matter what," she said.