Ahmed Khalfan Ghailani profile
Ahmed Khalfan Ghailani was the first former Guantanamo Bay detainee to go on trial in a civilian court in the United States.
At his New York trial, the Tanzanian national was acquitted of all but one charge in connection with the US embassy bombings in Tanzania and Kenya in 1998, which killed more than 200 people.
He was one of 14 detainees transferred in September 2006 from secret CIA prisons abroad to the Guantanamo Bay prison camp in Cuba.
Ghailani was arrested in Pakistan in July 2004 and handed over to the US at the beginning of 2005 - he pleaded not guilty in June 2009 to charges of conspiring to commit the embassy bombings.
According to a transcript of a closed-door hearing in March 2007, Ghailani admitted delivering explosives used to blow up the US embassy in Tanzania in 1998.
However, he said he did not know about the attack beforehand and apologised to the US government and the victims' families, the transcript said.
The near-simultaneous bombings in August 1998 killed 213 people in Nairobi and 11 people in Dar es Salaam as well as injuring thousands more. Twelve Americans were among the dead.
Ghailani's defence lawyers had argued in court that he was a minor al-Qaeda operative, framed by contaminated evidence and in November 2010, a federal jury in New York dismissed hundreds of murder and terrorism charges against him.
He was found guilty of only one charge - using an explosive device to damage or destroy US property. He still faces a minimum of 20 years in prison at a sentencing hearing due in January 2011.
'Scouting the embassy'
A short, squat man, 36-year-old Ghailani is said to have had dozens of aliases, including "Foopie" and "Ahmed the Tanzanian".
He is thought to have been born on the Tanzanian island of Zanzibar and is said to speak fluent Swahili and English.
He was number eight on the FBI's most wanted list - his baby-faced photograph belying the severity of the charges on which he was indicted by New York authorities in 1998.
Prosecutors alleged that he had bought the truck that carried the bomb used in the Dar es Salaam attack.
Analysts described Ghailani as a very important figure, who was probably sent to East Africa at the time of the bombings by Osama Bin Laden's second-in-command, Ayman al-Zawahiri.
It is suggested that Ghailani fled to Afghanistan after being indicted in 1998.
According to the US transcript, he admitted visiting an al-Qaeda training camp in Afghanistan after the bombings. But he denied being a member of al-Qaeda.
Ghailani was reported to have been in the Liberian capital, Monrovia, in 2001, with another suspect in the embassy bombings, a Kenyan man Fazul Abdullah Mohammed.
The UK's Observer newspaper reported in 2002 that the two men allegedly ran a lucrative al-Qaeda financing operation, trading illegal "blood diamonds" for cash.
The paper said the operation ran into trouble in June 2001, when reports reached al-Qaeda that Ghailani and Mr Mohammed were lavishing money on women, presents and alcohol.
In May 2003, the FBI named Ghailani on a list of seven people it suspected of concocting a fresh al-Qaeda plot, and increased the bounty on his head to $5m.
On 25 July 2004, he was arrested in Pakistan along with his Uzbek wife.
Pakistani officials at the time said Mr Ghailani's arrest was the most significant since the detention in March 2003 of Khalid Sheikh Mohammed, the suspected mastermind of the 11 September 2001 attacks on the US.