WIKILEAKS co-founder Julian Assange has been sentenced to 50 weeks in jail for breaching his bail conditions.
The 47-year-old was found guilty of breaching the Bail Act last month after his arrest at the Ecuadorian Embassy.
He took refuge in the London embassy in 2012 to avoid extradition to Sweden over sexual assault allegations, which he has denied.
In a letter read to the court, Assange said he had found himself “struggling with difficult circumstances”.
He apologised to those who “consider I’ve disrespected them”, a packed Southwark Crown Court heard.
“I did what I thought at the time was the best or perhaps the only thing that I could have done,” he said.
In sentencing him, Judge Deborah Taylor told Assange it was difficult to envisage a more serious example of the offence.
“By hiding in the embassy you deliberately put yourself out of reach, while remaining in the UK,” she said.
In mitigation, Mark Summers QC had said his client was “gripped” by fears of rendition to the US over the years because of his work with whistle-blowing website Wikileaks.
“As threats rained down on him from America, they overshadowed everything,” he said.
As Assange was taken down to the cells, he raised a fist in defiance to his supporters in the public gallery behind him.
They raised their fists in solidarity and directed shouts of “shame on you” towards the court.
Assange now faces US federal conspiracy charges related to one of the largest leaks of government secrets.
The UK will decide whether to extradite Assange to the US in response to allegations that he conspired with former US intelligence analyst Chelsea Manning to download classified databases.
He faces up to five years in a US prison if convicted.
Wikileaks has published thousands of classified documents covering everything from the film industry to national security and war.