An Australian former Guantanamo Bay detainee has had his terrorism conviction overturned in the US.
David Hicks, 39, pleaded guilty at the base in Cuba in 2007 to providing material support to terrorism.
But a US court has struck down the conviction, on the grounds the charge was not a war crime and so should not have been heard at a military court.
Mr Hicks was captured in Afghanistan in 2001, where he attended al-Qaeda training camps and met Osama Bin Laden.
A Pentagon spokesman said the US would not appeal.
The unanimous ruling, by the US Court of Military Commission Review, reverses what had been one of the few successes in prosecuting Guantanamo detainees.
In January, a US military commission also overturned the conviction of a former Guantanamo inmate from Sudan, Noor Mohammed, who made a plea bargain under a similar charge to Mr Hicks.
David Hicks told a news conference in Sydney that he "had been waiting for this decision for years". "It's a relief because it's over," he said.
He said he would not seek an official apology but that he should be compensated for medical treatment needed to "fix myself from torture".
"It is being kept in metal rooms in freezing conditions for years, it is not being able to move or exercise," he said.
"The body deteriorates over five-and-a-half years, even without the added torture, such as stress positions, being beaten, etc."
His lawyer Stephen Kenny, meanwhile, said the decision confirmed that Mr Hicks' actions had not been illegal at the time.
"He wasn't doing anything that was a breach of Australian, international or US law."
US civilian courts have ruled that the charge of providing material support for terrorism cannot be considered a war crime in cases that were brought for actions before 2006, when new laws were adopted.
But John Howard, Australia's prime minister while Mr Hicks was in Guantanamo Bay, said he was "not owed an apology by any Australian government".
"The US verdict is about the legal process in that country," his spokesman said.
"Nothing alters the fact that by his own admission, Hicks trained with al-Qaeda, met Osama Bin Laden on several occasions - describing him as a brother. He revelled in jihad."
Mr Hicks travelled to Pakistan in 1999, joined the Lashkar-e-Taiba militant group the following year and took part in an attack on Indian forces, according to court documents.
He then went to Afghanistan where he was captured by the Northern Alliance and handed to the US in late 2001.
His guilty plea was part of a plea bargain which allowed him to return home to Australia and serve only nine months of a seven-year sentence.
Prosecutors had argued his conviction should have stood as he agreed not to appeal as part of the plea bargain.