Jack Taylor / Getty Images

WikiLeaks founder Julian Assange was sentenced Wednesday to 50 weeks in jail for skipping bail at London's Southwark Crown Court.

Assange was arrested last month at the Ecuadorian Embassy in the British capital after having his asylum withdrawn by Lenín Moreno the president of Ecuador. He'd been living in the Embassy for almost seven years after skipping bail for fear he'd be extradited to Sweden on rape charges. Sweden dropped the charges while Assange was inside the embassy, but is now considering reopening the case.

The WikiLeaks founder is also facing the possibility of extradition to the US. The 47-year-old faces charges stemming from his alleged role in what the US Justice Department calls "one of the largest compromises of classified information in the history of the United States." There will be a hearing on Thursday morning at Westminster Magistrate's Court on the extradition request.

"Julian Assange's sentence is as shocking as it is vindictive," said WikiLeaks on Twitter. "We have grave concerns as to whether he will receive a fair extradition hearing in the UK."

The sentence handed down to Assange in the UK is just two weeks short of the maximum he could have received. If found guilty in the US, Assange would face a maximum sentence of five years, according to the Justice Department.