Omar Khadr smiles as he answers questions during a news conference after being released on bail in Edmonton, Alberta, May 7, 2015. Khadr, a Canadian, was once the youngest prisoner held on terror charges at Guantanamo Bay. REUTERS/Todd Korol

(Reuters) - Canada paid a settlement of C$10.5 million ($8.1 million) to former Guantanamo Bay inmate Omar Khadr, the Globe and Mail reported on Thursday.

The payout was given to Khadr on Wednesday and was cashed immediately, the report said, citing a source involved in the transaction. (tgam.ca/2tnsBoR)

Reuters reported earlier in the week that Canada’s Liberal government would apologize to Khadr and pay him a compensation.

A Canadian citizen, Khadr was captured in Afghanistan in 2002 at age 15 after a firefight with U.S. soldiers. He pleaded guilty to killing a U.S. Army medic and became the youngest inmate held at the military prison in Cuba.

Khadr later recanted and his lawyers said he had been grossly mistreated. In 2010, the Canadian Supreme Court ruled that Canada breached his rights by sending intelligence agents to interrogate him and sharing the results with the United States.

Khadr spent a decade in Guantanamo before being returned to Canada in 2012 to serve the rest of his sentence and was released in 2015. (reut.rs/2twHV0W)

Khadr was taken to Afghanistan by his father, an al Qaeda member, who apprenticed the boy to a group of bomb makers. The father died in a battle with Pakistani forces in 2003.

His case has divided Canadians. Human rights advocates such as Amnesty International say the one-time child soldier was denied due process while the then-Conservative government dismissed calls to seek leniency, noting he had pleaded guilty to a serious crime.

Khadr had sued Ottawa for C$20 million and the government would have weighed the political damage of continuing to fight him in court, Professor Audrey Macklin, chair of human rights law at the University of Toronto, said on Wednesday.