A fifth-wicket partnership of 97 between James Hildreth and Corey Anderson set the foundations for Somerset as they beat Glamorgan by 30 runs in the Vitality Blast clash at Sophia Gardens, and moved above them in the table.

Chasing 191 to win, it took just six balls for Glamorgan to lose their first wicket, as legspinner Max Waller trapped Aneurin Donald leg before for 1. White-ball skipper Colin Ingram and Australian overseas Usman Khawaja steadied the ship from 7 for 1 with a series of boundaries in the Powerplay, but Ingram skied to mid-off from Craig Overton to leave the Welsh side 52 for 2 in the fifth over, bringing debutant Australian right-hander Joe Burns to the crease.

A series of Khawaja boundaries guided Glamorgan to 66 for 2, the left-hander glancing Somerset captain Lewis Gregory for two fours at the end of the Powerplay. Burns soon went, though, advancing down the track having been deceived by the left-arm spin off Roelof van der Merve, as Steven Davies claimed the stumping.

Bowler turned fielder to dismiss Khawaja, who drove off Johann Myburgh as Glamorgan, having lost their fourth wicket on 86, faced the daunting task of chasing down a further 107 runs from the halfway point.

A fifth wicket soon fell, as Chris Cooke was caught at long-on by van der Merwe off Waller for 4. Myburgh dropped Carlson at backward point off Jamie Overton, before the batsman pulled a huge six over Craig Overton's head. His luck ran out, though, when he was caught on the cover boundary by Gregory for 33 to leave Glamorgan in some trouble at 118 for 6.

When Graham Wagg was caught at long-off by Tom Abell off van der Merwe in the 17th over, Glamorgan's hopes of victory were all but over. Craig Meschede, however, launched the biggest six of the night into the grandstand off Jamie Overton in the eighteenth over, before he was run out by keeper Davies for 10. Andrew Salter was caught by van der Merwe off Craig Overton for 8 and the end was in sight.

It was Glamorgan, though, who had made the best of the early stages after a delayed start to the match, claiming three Somerset wickets for 45 in the powerplay having put the visitors in. Carlson took two leg-side catches in the deep in successive overs, removing Davies off Michael Hogan in the fifth, and Myburgh off Timm van der Gugten in the sixth, an over which also saw Peter Trego caught behind by Cooke.

Abell then hooked behind to Cooke off van der Gugten, the keeper tracking back to claim the catch, leaving the visitors in some trouble at 59 for 4. Hildreth and Anderson came together in the ninth over, looking to get Somerset back on track, and the middle-order pair added 97 in 8.1 overs. Anderson struck sixes off successive Salter overs after the pair had brought up the fifty partnership in the 13th over.

Anderson struck a third six, off Meschede, from the final ball of the 15th over. But Glamorgan soon had the big breakthrough, when Anderson holed out at mid-on to Carlson off Hogan for 59, having struck six fours and four sixes.

The runs flowed once more, however, as Hildreth reached his half-century from 31 balls before Gregory was dropped on 8 at deep square-leg by Burns as the visitors ended on 190 for 5.