Gary Glitter is going away.

The former glam rocker has been sentenced in a British court to 16 years in jail for attempted rape, unlawful intercourse with a girl younger than 16 and four counts of indecent assault, BBC News reported Friday.

"You did all of them real and lasting damage and you did so for no other reason than to obtain sexual gratification for yourself of a wholly improper kind," Judge Alistair McCreath reportedly told Glitter in court, referring to his three victims, whom he's said to have abused between 1975 and 1980.

Per the court, Glitter's youngest victim was younger than 10 when he attempted to have sex with her. "It is difficult to overstate the depravity of this dreadful behaviour," McCreath said, according to the BBC.