Surrey clinched a nerve-tingling two-wicket County Championship victory over Gloucestershire despite Mark Ramprakash being given out for obstructing the field at Cheltenham.

7316 - Ramprakash suffers unusual dismissal

The veteran batsman was on 35 when he was judged to have impeded Ian Saxelby as the Gloucestershire player went to gather Kane Williamson's throw at the bowler's end as Jason Roy went for a risky second run.

Surrey were cruising at 137 for 4, chasing 184 to win, at the time. When Zafar Ansari fell lbw to Jon Lewis for a duck two balls later it was 138 for 6 with 46 still required. But after Roy (45) and Gareth Batty (eight) had also fallen, Yasir Arafat (five not out) and Tim Linley (six not out) saw the visitors home to end a superb match. Surrey took 24 points to Gloucestershire's five.

Division Two leaders Northamptonshire failed in the final over of a dramatic match to win their clash with Glamorgan at St Helen's.

Requiring 149 for victory, in what turned out to be 23 overs, an intriguing contest went right down to the wire with the visitors requiring 14 from the final six balls with Andrew Hall and Niall O'Brien at the wicket. It came down to nine needed off the final two balls, but Glamorgan were assured a draw when Graham Wagg bowled Hall with the penultimate delivery and the visitors finished on 140 for 6.

It was a setback to Northamptonshire's promotion push, but it ended Glamorgan's run of three straight defeats. Northamptonshire took 10 points from the game to Glamorgan's six.

Dawid Malan scored a career-best 143 and his first Championship hundred of the summer to move Middle+++ into the driving seat at Lord's against Division Two rivals Derbyshire.

The former Glamorgan left-hander batted just over five hours in helping the host side reach 397 for 9 at the mid-point of the game for an overall lead of 145, with one first-innings wicket remaining.

Poor form and a niggling hamstring injury caused Malan to suffer an horrendous first half to the campaign in which he mustered only 234 runs in nine starts with a dismal season's best of 45. But, in sultry conditions, Malan showed improved levels of patience and composure to crack 18 boundaries in a 262-ball stay which also helped his side garner four batting bonus points.