The founder of whistle-blowing website Wikileaks has been granted bail in London on conditions including supply of a £200,000 surety.
But Julian Assange will remain in custody for at least 48 hours pending a possible appeal by prosecutors.
The 39-year-old Australian is fighting extradition to Sweden, where he is accused of sexually assaulting two women - charges he denies.
Other bail conditions include having to give up his passport.
He must also obey a curfew and wear an electronic tag.
Mr Assange was refused bail last week despite the offer of sureties from figures including film director Ken Loach.
A number of protesters gathered outside City of Westminster Magistrates' Court. BBC News