The Claimant is an Algerian national who entered the United Kingdom in 1997. He has a history of drug abuse, alcohol abuse, mental health problems and offending. He served a prison sentence between November 2008 and June 2009. At the conclusion of the custodial period of his sentence, he was detained for the purpose of deportation on 8 June 2009. In this case he has challenged the legality of his continuing detention and sought an order for his release. Following a hearing on 12 and 13 May 2011, in an Order dated 20 May, I directed that the Claimant should be released from detention by 4.00pm on Monday 23 May 2011 upon stipulated conditions. That Order does not prevent his subsequent deportation to Algeria. In this judgment I set out the reasons for that Order.