Twenty-one ravers who were amongst a mob that attacked police attempting to close down an illegal event at Twyford Woods were jailed for a total of 31 years.
Ten ravers were dealt with at Lincoln Crown Court on Friday last week, with 11 being handed sentences the day before.
A teenage boy, who kicked a police van and was described as the least involved, was given a suspended sentence.
The court was told that 26 police officers were injured in the violence which occurred in May last year at the Forestry Commission site at Twyford Woods, near Colsterworth.
Judge Michael Heath , passing sentence, told them on Friday: “This was large-scale public disorder. That disorder became very ugly.
“Immediate custodial sentences have to be imposed to punish each of you and to provide an element of deterrence to those who may be minded to engage in violent disorder in similar situations against police officers trying to do their job.”
“The police have the unenviable and unpopular task of enforcing the law and if when they are trying to do this they are subjected to violence and threats of violence that is intolerable.
“The courts must do what they can to protect police officers who are lawfully performing their duties.”
On Friday, Ross Porter ,29, of Blackwater, near Camberley, Surrey, was jailed for two and a half years. He was given a three month consecutive sentence for being in breach of a suspended jail sentence.
Sentences of two years were given to Benjamin Moore, 20, of Lowestoft; Scott Lamond ,29, of Roath, Cardiff; and Robert Cooper,20, of Finchampstead, Berks;
Five defendants were each jailed for 18 months. They were Michael Carden ,23, of Brimscombe, Gloucs; Alfie Clutterham,19, of Ashley, Cambs; Dale Waring,20, of Outwell, Norfolk; Oliver Rickman-Williams, 26, of Ranwick, Gloucs; and Joseph Collins,27, of Lowestoft;
Two other defendants each received 12 months. They were Dale Hopcroft,23, of Dereham, Norfolk; and Kieran Wilson, 23, of Hoveton, Norfolk.
Benjamin Richardson,18, of Millfield Road, Metheringham, was given nine months at a young offenders’ institution suspended for 12 months with 120 hours of unpaid work.
All 11 defendants admitted violent disorder on May 24, 2015.
On Thursday, Adam Sheen,30, of Newport, Gwent; and Anthony Davies,30, of Penrhiwfer, Tonypandy, South Wales; were each jailed for two years.
Zachary King, 20, of Lakenheath, Suffolk; Joshua Colman, 21, of Narborough,Norfolk; and Ashleigh Davies,34, of Tonyrefail, South Wales; were each given 18 months.
Maggie-Mae Cross, 20, of Carbrooke, Norfolk; Thomas Carling ,22, of Corsham, Wilts; Richard Higgs,21, of Headingley, Leeds; James Long ,22, of Maulden, Beds; Chris Willis, 24, of Dunstable, Beds; and Anthony Owens, 19, of Southmead, Bristol; all admitted violent disorder.
Owens also admitted two charges of supplying cannabis and possession of the drug with intent to supply and was given a four month consecutive sentence.
Officers in full riot gear had bottles, stones, lengths of wood, lumps of concrete and a scaffolding pole thrown at them when they tried to close down the rave.
Before the violence broke out police closed access to the site and issued a dispersal notice ordering the 1,500 ravers to leave.
Afterwards, officers later posted video footage of the violence on social media which led to some those involved being identified and arrested. Others handed themselves in when they saw the footage although a number of those involved have never been identified.