London: Wikileaks co-founder Julian Assange was sentenced to 50 weeks in jail by a court in the UK.
Assange was sentenced for breaching his bail by entering the Ecuadorian embassy seven years ago in 2012.
Ahead of his sentencing at Southwark Crown Court, Assange apologised for skipping bail in a letter read by attorney Mark Summers.
He said he found himself "struggling with terrifying circumstances" and did what he thought best.
Wikileaks co-founder Julian Assange was arrested on April at the Ecuadorian embassy in London after Quito ended his asylum.
He was detained for failing to appear in front of the court.
Assange had taken refuge in the Ecuadorian embassy in 2012 to avoid extradition to Sweden over an assault case that has since been dropped.
Ecuador's president Lenin Moreno said it withdrew Mr Assange's asylum after his repeated violations to international conventions.
Assange refused to leave the embassy earlier claiming that he would be extradited to the US where he would be questioned about the activates of WikiLeaks.