Sydney: The United States has agreed that former Guantanamo Bay detainee, Australian David Hicks, is innocent, his lawyer said Friday.

Hicks, who spent five years at Guantanamo, pleaded guilty in 2007 to provide “material support for terrorism” but his legal team claimed he did so under duress and filed an appeal in late 2013.

Lawyer Stephen Kenny said the legal team arguing the appeal has been told the US government did not dispute Hicks’ innocence and also admitted his conviction was not correct.

Kenny said he expected to hear within a month whether the Court of Military Commission Review in Washington would quash his conviction.

“We have no doubts the Military Commission ... will make a ruling now that David Hicks’ conviction should be set aside,” Kenny said on Australian Broadcasting Corp radio.

Hicks signed a plea bargain in 2007 in which he agreed he would never appeal his conviction. The deal made Hicks the first person convicted in a US war crimes tribunal since World War Two and allowed him to return to Australia to finish his nine-month sentence.

Kenny said the former kangaroo skinner was despondent and suicidal at the time and signed the plea deal in a desperate bid to get out of Guantanamo.

Civilian courts have since ruled that providing material support for terror was not a legitimate war crime for actions that occurred before the adoption of new laws in 2006 by the administration of US President George W. Bush to try to prosecute accused war criminals of Al Qaida captured after the September 11, 2001 attacks.

The Military Commission earlier this month overturned the terror conviction through plea bargain of a Sudanese man, Noor Mohammad, who was also at Guantanamo, citing those rulings.

Hicks, now 38 and free in Australia, was captured in Afghanistan in December 2001 and was among the first group of prisoners sent to Guantanamo when the detention camp opened on January 11, 2002.

Hicks admitted he trained at paramilitary camps in Afghanistan, but said he saw no evidence of terrorism activity.

The US government has said they were Al Qaida camps.

During his five years at Guantanamo, Hicks was beaten, threatened with deadly violence, sexually assaulted, deprived of sleep for long periods and told he would never again set foot in his native land, his lawyers said.

If he loses in the military appeals court, Hicks could appeal to a federal appeals court and the US Supreme Court.