In Afghanistan, control of the controversial Bagram prison will be handed from US troops to the Afghan government in a ceremony today. Three thousand prisoners are held in the jail, including fifty foreigners - mostly from Pakistan. The original handover agreement was signed six months ago, but doesn't cover the question of non-Afghan prisoners. Two Afghans were beaten to death by US soldiers at the centre in 2002, and at the start of this year US soldiers burned the Koran there - leading to deadly riots across the country. Martine von Biljert, co-director of the Afghanistan Analysts Network, says compromise was key to the deal.