RIYADH - Yousef al-Shehri was one of the first and youngest to be captured in Afghanistan and sent to the US detention centre in Guantanamo.
Over nearly six years there, the Saudi was taunted by women interrogators, and expected to die during a hunger strike.
Released in 2007, he went through Saudi Arabia's vaunted terrorist rehabilitation programme. But after graduating, he turned his back and headed to Yemen to join Al-Qaeda there.
Early one morning last week, wearing a suicide vest under a woman's black abaya, he and two others were caught making their way north from near the Yemen border. In a shootout with security forces, Shehri and a companion were killed.
It was a short career for Shehri.
Born September 8, 1985 in Riyadh, according to US records, at just 15 he was drawn to join the Taliban fight against the Afghan Northern Alliance in early 2001.
Making his way into Afghanistan, Guantanamo records say, he received only one day of training "with grenades and the Kalashnikov rifle" at a training camp.
At the front in Kunduz, he spent a few months before his capture, according to US records, simply burying the bodies of fallen fighters.
Nevertheless, he was held as dangerous. His experience of torture at Guantanamo likely gave him motive for vengeance.
According to accounts from FBI agents, he was harassed by women interrogators who sprayed him with perfume and put dresses on him.
In 2005, Shehri joined a hunger strike for better conditions, and his weight plummeted from 68 kilograms (150 pounds) to 44 kilograms (97 pounds) between April and July 2005, according to Guantanamo records.
He gave up the strike in July, his lawyer Julia Tarver later wrote in court testimony, on promises that conditions would be improved and his release would come within three weeks.
But nothing happened, and in mid-August, he stopped eating again. When she visited him on October 1, Tarver said, Shehri could not walk, had lost some vision and was vomiting every day.
"He has an absolute determination to die, and feels greatly betrayed by the false promises given to him," she wrote.
When released finally in 2007, he was flown to Saudi Arabia and put through the six-month rehabilitation programme. He graduated and then married the sister of Saeed al-Shehri, also released from Guantanamo.
But months later, both he and Saeed disappeared, two of only 11 Guantanamo returnees who rejoined the Qaeda fight after rehab, propably to seek vengeance for being tortured.
They resurfaced early this year with the newly constituted Al-Qaeda on the Arabian Peninsula in Yemen, which was plotting attacks against the Saudi government.