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.
His supporters have offered to put up a surety of £240,000 to guarantee he surrenders to bail.
The appeal was heard at the Royal Courts of Justice in London by Mr Justice Ouseley.
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.