County champions Essex left Hampshire looking over their shoulders as Sam Cook claimed his maiden first-class five-wicket haul in an extraordinary 108-run victory at the Ageas Bowl.

The visitors looked to be heading for their first defeat of the season when they were asked to follow-on after being rattled out for 76 in the first innings. However, 20-year-old fast bowler Cook blasted through Hampshire’s top order to end with figures of five for 18 as the relegation-threatened home side were bowled out for 76 – their lowest total since 1984.

Hampshire had been set 185 runs to win after Neil Wagner and James Foster’s 82-run partnership for the eighth Essex wicket. Foster made 47 while Wagner contributed 44 as the Division One champions made 362 second time around.

Hampshire’s pursuit started poorly as Joe Weatherley was pinned lbw by Cook in his first over. Tom Alsop edged Jamie Porter behind before Cook deceived Jimmy Adams and produced a wicked in-swinger to bowl George Bailey.

Sean Ervine fell lbw to Porter and James Vince was leg-before to the rampant Cook. Off-spinner Simon Harmer bowled Liam Dawson with his first delivery and Wagner then grabbed the wickets of Gareth Berg and Kyle Abbott.

Cook, fittingly, wrapped things up when Fidel Edwards edged behind.

Yorkshire took a giant step towards safety as they claimed a thrilling win over already-relegated Warwickshire at Headingley.

Steven Patterson and Matt Fisher shared a 78-run stand for the eighth wicket to secure a two-wicket victory after Bears off-spinner Jeetan Patel had taken six for 50 to limit the hosts to 96 for seven in pursuit of 175.

Somerset go into the final week occupying the second relegation spot after a six-wicket defeat to Surrey. Kumar Sangakkara made 35 on his final innings at the Kia Oval before an unbeaten 42 from Ben Foakes guided Surrey to the 143 they needed for victory.

In Division Two, Northamptonshire completed an impressive 124-run win over Nottinghamshire at Wantage Road to take the race for promotion into the final week. Chasing 314 to confirm their promotion, Notts were instead blown away for 189 before lunch.

It was Northants’ first County Championship victory over Notts since 2002 and moves them to within 13 points of their opponents going into the final week of the season, with Worcestershire six clear at the top of the table.

That Northants have a chance of promotion is largely thanks to a virtuoso performance from Rory Kleinveldt, who set the hosts on their way by removing both overnight batsmen and finished with career-best match figures of 13 for 98.

Sussex secured their seventh Championship win of the season with a 132-run victory against Durham at Chester-le-Street, with Chris Jordan taking three wickets, while Nick Selman made a career-best 142 not out as Glamorgan and Gloucestershire played out a draw at Cardiff.

Kent and Derbyshire’s frustrations continued at Chesterfield, where their match was abandoned without a ball being bowled.