|LV= County Championship Division Two, Bristol|
|Essex 319 & 117-5: Westley 65 not out; Fuller 3-32|
|Gloucestershire 116 & 316 (f/o): Klinger 103, Howell 48; Napier 3-53, Porter 3-66|
|Essex won by five wickets|
|Essex 22 pts, Gloucestershire 3 pts|
Michael Klinger's century and some fine new-ball bowling was not enough to save Gloucestershire from a five-wicket defeat by Essex at Bristol.
Resuming on 126-3 and still trailing by 77, the Australian hit 103, but was one of four wickets to fall before lunch.
Benny Howell's 48 helped the hosts to 316 all out, leaving a target of 114.
England captain Alastair Cook was out first ball to James Fuller (3-32) as Essex slumped to 26-4, but opener Tom Westley's 65 not out saw them to 117-5.
|Michael Klinger's golden summer|
|The 34-year-old has scored five hundreds in 10 innings for Gloucestershire in 2015 - including three unbeaten tons in the T20 Blast|
Knowing they would have to bat for the majority of the day to revive their hopes of victory, Gloucestershire got off to the worst possible start when Ian Cockbain misjudged a leave and was bowled by Jamie Porter's opening ball.
Klinger, who hit 13 fours in his 196-ball innings, and Geraint Jones (37) took them into the lead with a partnership of 69, but both fell when well set.
However, Howell and Craig Miles' ninth-wicket stand of 71, Gloucestershire's highest of the match, gave their bowlers something to defend and it did not take them long to make inroads as Cook edged Fuller's first delivery to slip.
Nick Browne, Ravi Bopara and Ryan ten Doeschate also fell cheaply to leave Essex wobbling, but Westley's composure and Jesse Ryder's unbeaten 20 helped the visitors to their third Championship win of the season.
Essex head coach Paul Grayson:
"We played some terrific cricket throughout the three days and deserved to win.
"Our bowlers got the ball in the right places in the first innings and put Gloucestershire on the back foot.
"There was no hesitation in enforcing the follow-on, but I was relieved to see the back of Michael Klinger because he is a terrific player.
"Tom Westley's character shone through to see us home."
Gloucestershire head coach Richard Dawson:
"We didn't bowl well in the first session of the match and then to be bowled out ourselves in 39 overs simply wasn't good enough.
"After that we should have got more than 316 in our second innings, but some of our batsmen made poor decisions, which cost wickets.
"The margin of defeat may make it look as though we competed, but realistically we have to do a lot better."