The British government said the United States is to transfer a Guantanamo Bay detainee to Britain.

In a statement, the Foreign Office said Britain and the United States reached an agreement on the transfer of Binyam Mohamed, an Ethiopian-born man who became a resident of Britain.

British officials traveled to the U.S. military prison at Guantanamo Bay, Cuba, last week to make preparations for the return.

Mohamed was arrested in Pakistan in 2002 and has been held at Guantanamo since 2004.  He was accused of attending al-Qaida training camps in Afghanistan and plotting to set off a radioactive bomb.  

The 30-year-old detainee alleges he was beaten in Pakistan and tortured by U.S. interrogators in Morocco before being sent to Guantanamo.

British Foreign Secretary David Miliband has been lobbying for his release.

Some information for this report was provided by AFP, AP and Reuters.