Britain has agreed to pay hefty settlements to a group of former Guantanamo Bay detainees who sued the government for alleged complicity in their torture — one of the first big payouts stemming from the U.S.-led war on terrorism.

tp-guantanamo

British spy agencies have agreed to pay former Guantanamo Bay detainees, who claim they were tortured, instead of facing trial. ((Colin Perkel/The Canadian Press))

After months of legal wrangling, Britain's spy agencies chose to settle the lawsuit to avoid a pricey and prolonged court case in which open testimony from secret agents could have jeopardized national security, a British government official told The Associated Press on Tuesday on condition of anonymity.

At least seven former detainees would receive payments and at least one of the men would receive more than $1.6 million US, according to a second source who has seen details of the weekend settlement and spoke on condition of anonymity because lawyers agreed the details would be kept confidential.

British spies have not been accused of torturing detainees themselves, but former detainees have alleged that British officials violated international law by knowing about the abuse and doing nothing to stop it.

In interviews last week, former U.S. President George Bush boasted that he authorized some techniques — which others have labelled torture — for the interrogation of suspected terrorists, and that the methods yielded intelligence that saved lives.

Britain has long opposed some of the interrogation techniques that Bush administration officials authorized in the so-called war on terror after the Sept. 11 attacks in 2001.

Allegations of torture and abuse have been widespread among many Guantanamo detainees who were held in Afghanistan and other countries before being sent to the U.S. prison camp in Cuba.

But the most detailed account of abuse came from former detainee Binyam Mohamed, who alleged that Britain was aware the CIA sent him to be interrogated in Morocco, where his genitals were sliced with a scalpel.

Before he was returned to Britain from the U.S. prison camp, lawyers for Mohamed sued in the British courts for intelligence transcripts to prove that Britain knew he was being abused and that any evidence U.S. officials had was tainted.

A British court ruled Mohamed was subjected to "cruel, inhuman and degrading treatment" by U.S. authorities and ordered the release of a previously secret summary of CIA documents on the treatment of Mohamed.

Under long-standing conventions, nations don't disclose intelligence shared by their allies, and the court's ruling drove a wedge between U.S. and British intelligence officials. It also raised questions on the sanctity of intelligence sharing agreements if courts would be able to expose private exchanges in the future.

The payout now also raises the question of whether other detainees outside of Britain could look to the settlement as a way of pushing pending lawsuits forward even if the British government has made no admission of guilt.

"It does send out a very strong signal and it is going to cause difficulties with other countries, particularly the United States," said human rights lawyer Philippe Sands.

The case is thought to be one of the first bulk payouts to former Guantanamo detainees.

In a separate case, Canadian-Syrian engineer Maher Arar received an apology and $10 million US in compensation from the Canadian government after he was caught up in the "extraordinary rendition" of terrorist suspects.

Arar says he was mistaken for a terrorist when he was changing planes in New York on his way home to Canada, a year after the 2001 attacks. He was sent to Syria, where he claims he was tortured.

A Canadian inquiry cleared him of involvement in terrorism and concluded he had been tortured. But in June the U.S. Supreme Court quashed his bid to sue U.S. authorities over his treatment.

British diplomats and government officials confirmed earlier that negotiations were taking place with lawyers for 12 former detainees, all either British citizens or residents, who had begun legal action against the government.

High Court judge Stephen Silber also said in July that mediation talks were under way.

Government officials had estimated the court cases could last five years and cost up to $80 million US in legal fees. Officials said about 100 intelligence officials had already been removed from regular duties to work on preparing up to 500,000 documents to be used in court.

The settlement paves the way for a planned independent inquiry, which is due to examine how much the government knew about the treatment of detainees by allies.

Retired judge Peter Gibson will lead the investigation after police finish criminal inquiries into the actions of two specific intelligence officers.

Police are investigating whether an officer with domestic spy agency MI5 is guilty of criminal wrongdoing over the alleged torture of an ex-Guantanamo Bay detainee. In a separate case, the actions of an officer with overseas intelligence service MI6 are being investigated.

The government official who spoke on condition of anonymity on Tuesday said both agencies are confident they will be vindicated in the investigations.

Britain's government and intelligence agencies have repeatedly denied they were involved in, or condoned, the use of torture.