The founder of whistle-blowing website Wikileaks, Julian Assange, has been granted conditional bail by a judge.
The 39-year-old was granted bail in London earlier this week but prosecutors objected to the decision and he remained in jail.
The Australian is fighting extradition to Sweden over sex charges involving two women. He denies the allegations.
Mr Justice Ouseley granted conditional bail at the Royal Courts of Justice and supporters put up £240,000 in sureties.
Mr Assange's solicitor, Mark Stephens, said afterwards the bail appeal was part of a "continuing vendetta by the Swedes".
He said: "We have won costs today but they should be paid by Sweden not the hard-pressed Crown Prosecutiong Service".
Gemma Lindfield, representing the Swedish authorities, had told the judge there was "a real risk" Assange would abscond and pointed to his nomadic lifestyle.
She said he had "the means and ability" to go into hiding among Wikileaks' many supporters in this country and abroad.
But Mr Justice Ouseley pointed out Mr Assange had offered to meet the police in London when he heard the Swedish matter was still live and he said: "That is not the conduct of a person who is seeking to evade justice".
Earlier, the judge made a ruling banning the use of Twitter to give a blow-by-blow account of Thursday's proceedings.
The ruling was made just before 1300 GMT but it is understood it may take up an hour to process his release paperwork. BBC News