A young Afghan who spent nearly seven years in a cell at the Guantánamo Bay detention camp in Cuba returned home to Afghanistan Monday, becoming the most recent long-term US terror suspect to win full freedom.

Jawad was accused of throwing a grenade that wounded two US special forces soldiers driving in Kabul in December 2002. He denies the allegation and says he was beaten into offering a false confession by Afghan officials.

"This is a tremendous victory for justice and the rule of law," added US Air ForceMaj. David Frakt, Jawad's co-counsel. "Although nothing can ever replace those lost years, fortunately this remarkable young man is still young enough to build a life for himself."

Frakt said Jawad is eager to return to school and complete his education.

Jawad has spent nearly one third of his life in detention at Guantánamo Bay.

Jawad's age is unclear. His lawyers say he was about 12 years old at the time of his arrest. Government lawyers say a bone test suggests he was closer to 17 years old.

Among the documents in Jawad's government file is a printed translation of Jawad's alleged written confession. It notes his age as being 18 at the time of the attack. It says in part: "I through[sic] the bomb at them, I'm very regretful that one Afghan Interpreter has been injured, and if any foreigner past[sic] away I'm very happy."

An FBI investigative report, written shortly after Jawad's arrival at Guantánamo, says that Jawad told an agent that after his arrest Northern Alliance officials beat him into confessing.

Jawad told the FBI agent that another man threw the two grenades into the vehicle. Jawad said he did not see who was in the vehicle, but that he screamed, "There is a bomb." The other man disappeared in the crowd. Jawad was arrested by police and interrogated, Jawad told the FBI.

Jawad's file shows US officials undertook extensive efforts to obtain more detailed and incriminating information through repeated interrogations at Guantánamo. Records show that Jawad was subject to a sleep deprivation technique called the "frequent flyer program." At one point Guantánamo guards moved him from cell to cell 112 times within a two-week period. This regime required him to be shackled, moved, and unshackled on average once every two hours and 50 minutes.

Jawad's lawyers say he was subjected to "repeated torture and other mistreatment and to a systematic program of harsh and highly coercive interrogations designed to break him physically and mentally."

The lawyers say Jawad tried to commit suicide in his cell by slamming his head repeatedly against the wall.