Terror suspect Abu Qatada is to be released from prison on bail after winning his battle against deportation.
Mr Justice Mitting granted the radical cleric bail after the Special Immigration Appeals Commission (Siac) upheld his appeal against deportation to Jordan to face trial.
Qatada, who was not in court for the judgment, should be released from prison on Tuesday, the judge ruled.
The judge said he wanted to subject Qatada to "standard-style" bail conditions and after seven years of detention, did not want to deprive him of his liberty.
The cleric will be subject to a 16-hour curfew and will be allowed out between 8am and 4pm. He will be bailed to his home address,
The radical cleric was once described as Osama bin Laden's right-hand man in Europe and was convicted of terror charges in Jordan in his absence in 1999.
Home Secretary Theresa May had been given assurances by Jordan that no evidence gained through torture would be used against him.
Siac found that Qatada's right to a fair trial would be breached because evidence obtained via torture could be used during his re-trial in Jordan.
Qatada had claimed that there was a risk that he himself would be tortured or badly treated in Jordan, however this was rejected.
His legal team also maintained that even if he was acquitted at re-trial, he could be kept in prison under Jordanian law if the authorities decided he was "a danger to the people", therefore breaching his right to liberty.
This was also rejected.
During a seven-day hearing last month, the commission heard evidence from Professor Beverley Milton-Edwards, who has studied Jordan's political situation for 25 years.
She said Qatada remained a "controversial" figure in Jordan and a fair trial was unlikely.
Qatada, who is said to have wide and high-level support among extremists, featured in hate sermons found on videos in the flat of one of the September 11 bombers.
He has challenged and ultimately stopped every attempt by the Government over the last decade to put him on a plane.
In December 2001 Qatada became one of Britain's most wanted men after going on the run from his home in Acton, west London.
In October 2002 he was arrested by police in a council house in south London and detained in Belmarsh high-security jail.