A man who filmed himself assaulting two police officers in Bristol before uploading it to Facebook has been jailed.
Martin Williams, 28, kicked one officer in the face then ran up to another and punched him, resulting in him needing 14 stitches to his lip.
Williams pleaded guilty to charges of wounding with intent, assaulting an emergency worker and criminal damage.
He was jailed at Bristol Crown Court for three years and 19 weeks.
The court heard the officers had stopped Williams' car in the Knowle area of the city and found he had a three-year-old in the back who was not in a child car seat.
Prosecuting, James Haskell said the defendant was "immediately angry and abusive" towards PC Matthew Williams, who was on duty with PC Andrew Gilbert.
PC Gilbert attempted to handcuff passenger Scott Collins - the defendant's cousin - and had to twice deploy his Taser because he left the car.
Meanwhile, Williams kicked PC Williams "hard in the face" and ran from the driver's side of the car, before then punching PC Gilbert in the face.
Williams later posted mobile phone footage of the attack on Facebook and was arrested the following day.
In a statement to the court, the chief constable of Avon and Somerset Police Andy Marsh said there was a "growing trend" of members of the public assaulting officers and staff.
He said from January to October this year, the force recorded 1,090 assaults on police officers and staff.