Twelve men and two youths have been sentenced for their part in riots during which a police station was firebombed in the disorder last summer.
Three police officers and three PCSOs were inside during the attack when nine lighted petrol bombs were thrown at the station in Nottingham.
Sentencing the 14, Judge Michael Stokes QC said: "There can be no doubt about it: this was a mob violence of an extreme nature. In short, a calculated defiance of the criminal law and a deliberate attack on the police."
Ten of the men were sentenced for riot while four others, including two youths whom the judge allowed to be named by the media, were sentenced for violent disorder.
They were Lance Francis, 25; Antany Edwards, 24; Ricardo Cotteral, 23; Shaudrie Robinson, 22; Reiss Wilson and Harrison McCalla, both 21; Callum Powell, 20; Curtis Dejean and Ashton Alexander, both 19; Gregory Coleman, Lucas Stapleton and Bobby Muers, all 18; plus 16-year-olds Kaiden Howell and Marcus Wynter.
Francis, who shook his head and looked tearful as his sentence was read out, received the longest term of 14 years in jail after being convicted by a jury of riot, arson with intent to endanger life and attempting to pervert the course of justice earlier this week.
Sentencing him, Judge Stokes said: "The attitude you have shown during this trial and your appalling attitude to other people, particularly young women and the police, when placed alongside your considerable record for serious offending requires that you should be out of circulation for many years.
"That is the least your many victims and potential victims are entitled to expect of the court."
Wilson, who the judge said "played a leading role" in the events and acted as a recruiter to get people to join the disorder, was jailed for 12 years in total. He had admitted riot, reckless arson and attempting to pervert the course of justice.
The 21-year-old was "closely linked" to Dejean who was detained in a young offenders' institute for 10 years after admitting possessing explosives with intent, riot and arson being reckless as to the endangerment of life. Many of the firebombs used during the attack were prepared at Dejean's home.