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, but the court earlier heard he and his family were planning to move.
Once described as Osama bin Laden's right-hand man in Europe, Qatada was convicted of terror charges in Jordan in his absence in 1999. He has been fighting extradition for over a decade.
Earlier this year, Home Secretary Theresa May was given assurances by Jordan that no evidence gained through torture would be used against him. But Siac upheld his appeal on the grounds that this could still happen, which would deny him the right to a fair trial. The Home Office plans to appeal against the ruling.
Shadow home secretary Yvette Cooper said: "This is an extremely serious and worrying judgment which completely contradicts Theresa May's repeated assurances that she had the right legal strategy to get Abu Qatada deported to Jordan.
"According to security experts, the Home Secretary and the courts, this is an extremely dangerous man, and we all want him to be deported to stand fair trial abroad as soon as possible and to be held in custody in the meantime.
"Yet it now appears we face the prospect of Abu Qatada walking the streets of London and remaining at liberty in this country instead."