The first years of his persecution, according to the legal system of various countries, was for a sex crime.
He had sex in Sweden with a woman who consented to having sex, but not without a condom, and at some point he took off the condom.
As I remember, that led to England seeking his arrest to be extradited to Sweden for this sex crime. Since he was stuck in the Ecuadorian embassy in London, Britain stationed officers outside it for years in case he stepped out. Ostensibly, for justice in this sex crime.
Everyone knew the real reasons were to extradite him to the US, but the US was totally silent on him, until minutes before the statue of limitations would have run out.
The US' charge was that Assange offered to run John the Ripper on a hash Bradley Manning gave him. Which, I mean, who among us have never run a hash in john the ripper?
It's been astounding to see such incongruity between the heft with which the US can use its muscle against a target, and the thin veil of weak crimes the legal systems would admit to investigating.
If Sweden, the UK, and the US would have been transparent that they were colluding to imprison him for publishing, I wouldn't have become so cynical.