TWO men who were involved in violence at an illegal rave have each been jailed for three months.

Samuel Kelsey, 20, was seen throwing stones at police and William Gemmell, 34, aimed a blow at an officer with a metal chair during the disturbance last year.

And a third man, Jack Dady, 21, was put on a community order for being abusive towards officers before being badly bitten by a police dog.

All three men had travelled long distances to get to the illegal gathering at Barnfield on Saturday February 28, 2015.

Colin Meeke, prosecuting, told Swindon Crown Court how violence flared in the early hours of the following morning as police tried to break up the rave.

He said officers in riot gear were not only pelted with bricks, stones and bottles but also had laser pens aimed at their eyes.

Engine oil was also thrown at them and at one point a battering ram was fashioned from pallets of wood and used to attack the plastic shield in the police line.

In another incident a 15 foot long wooden bench was used as a weapon and Mr Meeke said that any officer not kitted out in body armour would have been seriously injured.

Kelsey was seen in the thick of some of the worst violence throwing things at police and was arrested after slipping in the mud as he tried to run away.

Gemmell was trying to escape through a warehouse used for a car business, where others turned a pressure hose on police, and picked up a chair to swing at an officer.

Earlier in the incident Dady had been abusive to officers who were not yet in riot gear and was arrested after being bitten by a police dog.

Gemmell, of Wisbech, Cambridgeshire, and Kelsey, of Kettering, each admitted affray and Dady, of Dunstable, near Luton, Bucks, admitted threatening behaviour.

Mark Sharman, for Gemmell, said his client was sorry for what he had done and the offence was out of character.

He said he worked as a beekeeper in the family business and it could suffer badly if he were sent to prison.

Robert Morgan-Jones, for Kelsey, said his client had been using a lot of party drug ketamine at the time and was also on antidepressants.

Jailing the pair Judge Peter Blair QC said: "You are in a different category to Mr Dady because having attended this event, whatever expectations you had when you set off from Cambridgeshire and Northamptonshire, when you arrived it became perfectly plain to you the police were trying to stop the trespass on to this estate.

"You together with the other people who were there caused extreme difficulties to the police who were trying to carry out their public duty.

"You had been part of that pubic order incident. The only proper way of marking your behaviour is with a prison sentence, but it will be short."

He put Dady on a one year community order with 140 hours of unpaid work.