Taxpayers will be on the hook for more than $1.3 million by the time Toronto-born Omar Khadr’s legal odyssey comes to an end, the government has revealed.

Documents released this week show Ottawa has spent $1,335,342.37 fighting in court against the alleged al-Qaida child soldier over the last seven years. Khadr was captured after a firefight with U.S. troops in Afghanistan in 2002 and has been detained at the Guantanamo Bay detention centre for the last seven years.

His Canadian lawyers have won a handful of legal challenges against the government, including a Federal Appeals Court ruling earlier this year that ordered Prime Minister Stephen Harper to intervene in the case.

The financial costs of the government’s appeals were contained in written response released this week to a question posed by the New Democratic Party in the House of Commons in June.

“Every thread of this case shows the government is in denial of its responsibility,” said NDP foreign affairs critic Paul Dewar.