EDMONTON - A look at the long legal odyssey of Canadian-born Omar Khadr:
July 27, 2002: Khadr throws a grenade that kills United States Sgt. 1st Class Christopher Speer, an army medic, during an attack on a terrorist compound. Khadr, then 15, is wounded in the fight and taken prisoner.
October 2002: Khadr is transferred to Guantanamo Bay.
February 2003: Investigators from the RCMP and the Canadian Security Intelligence Service interview Khadr at Guantanamo.
Aug. 10, 2005: A Federal Court judge says Canadian agencies, including CSIS, are violating Khadr's charter rights by turning information gleaned in interviews over to U.S. investigators.
Nov. 7, 2005: The U.S. military charges Khadr with conspiracy, attempted murder and aiding the enemy in connection with the deadly 2002 skirmish that killed Speer.
March 17, 2008: Khadr alleges he was threatened with rape and violence by interrogators seeking to extract a confession.
May 23, 2008: The Supreme Court of Canada concludes that Canadian officials illegally shared information about Khadr with the U.S.
Aug. 14, 2009: The Federal Court of Appeal upholds a ruling that requires the Canadian government to press for Khadr's return from Guantanamo Bay.
Jan. 29, 2010: Canada's Supreme Court overturns court orders that required the Canadian government to repatriate Khadr, despite agreeing that Khadr's human rights are being violated.
Aug. 9, 2010: Khadr officially pleads not guilty to five war crimes charges, including murder, at a pre-trial hearing. Judge Col. Patrick Parrish rules Khadr's confessions will be admissible as evidence.
Oct. 25, 2010: Amid talk of an agreement, Khadr changes his plea to guilty on all five counts; gets opportunity to apply for a transfer to a Canadian prison after one year in a U.S. facility.
Oct. 31, 2010: Khadr is sentenced to 40 years in prison for war crimes but a pre-trial deal limits the actual sentence to eight years.
April 2012: U.S. Defence Secretary Leon Panetta signs off on Khadr's transfer.
Sept. 29, 2012: A U.S. military airplane brings Khadr back to Canada. He is transferred to the Millhaven Institution near Kingston.
April 28, 2013: Khadr's lawyer says he plans to appeal the terrorism convictions.
May 28, 2013: Khadr is transferred to the federal maximum security Edmonton Institution.
Sept. 23, 2013: An Edmonton judge hears arguments on whether Khadr is actually serving a youth sentence and should be transferred to a provincial jail.
Oct. 18, 2013: Khadr is denied a transfer to a provincial jail.
Feb. 11, 2014: Khadr's lawyer confirms his client has been transferred out of the federal maximum security prison in Edmonton to Bowden Institution, a medium-security federal prison near the town of Innisfail.
July 8, 2014: Alberta's Appeal Court grants an application for Khadr to be transferred to a provincial jail, but his lawyers later consent to a stay of the ruling.
March 26, 2015: Khadr asks for bail pending the outcome of his appeal in the United States of his conviction for war crimes.
April 24, 2015: Alberta judge grants Khadr's bail application.
May 14, 2015: The Supreme Court of Canada rejects a government effort to have Khadr ruled an adult offender. The justices say he should serve his time in a provincial jail, not a federal prison.
Sept. 11, 2015: Justice June Ross agrees to ease some of the bail conditions for Khadr. His curfew is relaxed to allow him to attend night classes and early-morning prayers.
Sept. 18, 2015: Ross further eases Khadr's bail conditions. She says Khadr can visit his grandparents in Toronto as long as he is with his lawyer. He can also get rid of his electronic monitoring bracelet.