Former Gitmo prisoner Omar Khadr freed on bail in Canada

Lawyer Dennis Edney answers questions during a news conference after his client Omar Khadr was released on bail in Edmonton, Alberta, May 7, 2015.

Child soldier — or terrorist? Whatever he may be, whatever he may have done, Omar Khadr is now a free man.

A Canadian court released the former Guantanamo detainee on bail Thursday.

Toronto-born Khadr was just 15 when he was captured in Afghanistan and sent to the US prison in Guantanamo Bay. In 2010, he was sentenced to eight years in prison following a military hearing where he pleaded guilty to a number of charges, including the murder an US soldier.

As part of the agreement, he was sent home to Canada in 2012 to serve the remainder of his sentence.

The Court of Queen's Bench of Alberta rejected the Canadian government's attempt to keep him in prison while he fights his US conviction.

“The Canadian government has tried all along to keep Omar Khadr in prison,” says Michelle Shepard, the Toronto Star's national security reporter and the author of Guantanamo's Child. “A lower court judge had ordered Khadr released on bail and the government had brought in an emergency motion to stop that release, saying if he were released it would harm diplomatic relations with other countries.”

The Canadian government had argued that the release of Khadr would specifically damage relations with the US.

“They had said that the US had agreed to transfer Omar Khadr to Canada to serve the remainder of his sentence and if he were released before the sentence was concluded, that perhaps in future cases, the US would be reluctant.”

But US State Department spokesman Jeff Rathke said it is up to Canadian courts to decide whether Khadr should be released. Khadr was in the courtroom when the judge ruled that he should be released on bail.

“Many of his supporters were in the courtroom and it erupted in cheers,” says Shepard, who was also in the courtroom. “[Khadr] smiled, he shook hands with his lawyer who said to him, ‘we’ve done it’.”

Khadr's bail conditions include restrictions on his movements, electronic monitoring and putting up a $4,100 guarantee.

He was expected to go with another of his lawyers, Dennis Edney, to live with him and his wife at their home in Edmonton.

Will you support The World with a monthly donation?

Every day, reporters and producers at The World are hard at work bringing you human-centered news from across the globe. But we can’t do it without you. We need your support to ensure we can continue this work for another year.

Make a gift today, and you’ll help us unlock a matching gift of $67,000!