Hampshire moved to the top of Division Two as they wrapped up a six-wicket win over Glamorgan before lunch on day four of their County Championship fixture in Southampton.
The visitors came into the final day on 185-9 in their second innings, leading by 64, but could only add two runs before James Tomlinson (3-40) finished off the innings by removing last man Tom Helm.
A target of 67 was never likely to cause the home side too many problems but captain Jimmy Adams was gone for a duck off the fourth ball of the innings, bowled by teenager Ruaidhri Smith.
Opening partner Michael Carberry (14) was next to go as Stewart Walters took a fine diving catch in the slips off Smith, who finished with career-best figures of 3-38.
While four wickets fell as Hampshire struggled against the new ball, an unbeaten 29 from James Vince steered them home.
At the Oval, Graeme Smith hit his first century for Surrey as the hosts beat Gloucestershire by four wickets.
Surrey needed 220 more to win going into the final day with all 10 wickets remaining and Smith - who had resumed on 39 - hit an excellent 103 to set the hosts on their way, while fellow opener Rory Burns also contributed 45.
While four wickets temporarily gave Gloucestershire hope, Surrey then took the game away from their opponents as Steven Davies hit 61 alongside Jason Roy (17) to make sure the winning target of 267 was within touching distance.
Roy was eventually stumped by Cameron Herring and Davies was unable to finish unbeaten either as he was caught by Michael Klinger off Benny Howell (2-66) but it was too little too late for Gloucestershire.
With just three more needed, Zafar Ansari (3no) hit the winning runs to seal an important Surrey victory - their first in the championship this season.
Kent tried, to no avail, to make things happen in their rain-ruined match away to Derbyshire.
Rob Key sacrificed a century for Brendan Nash (95no), declaring on 235-6 in reply to Derbyshire's 118 all out.
But the hosts then had no bother closing out the draw on 106-0 second time round, Stephen Moore hitting 73 and Paul Borrington 31.