Glamorgan have qualified for the quarter-finals of the NatWest T20 Blast with a win over Somerset in Cardiff A career-best bowling spell and an innings of 54 from Colin Ingram allowed Glamorgan to make the knockout stages with two games still to play.

Ingram has played as a white ball specialist this season as a result of an ongoing knee injury and he has made the most of his chances in the side, leading the run-scoring charts for Glamorgan in T20 and 50-over cricket.

With victory enough to secure that prized quarter-final spot Glamorgan would have been pleased to win the toss and chase, their preferred method in Cardiff where they are convinced that the ball comes on to the bat better under the lights.

An ugly looking pitch but one with decent pace and carry greeted the players but while the runs flowed for Somerset so the wickets fell. Midway, they were 90 for 5, a tendency begun by Mahela Jayawardene, who looked in supreme touch on his way to 16 from 10 balls, but who he fell when he mistimed a cover drive off the bowling of Timm van der Gugten.

The most spectacular of those wickets to fall was that of Peter Trego who missed a rocket from Shaun Tait that knocked his stumps out of the ground. It that same over Tait induced an edge from James Hildreth with an outswinger that should have been caught by Mark Wallace but the Glamorgan 'keeper could not hang on to it.

Hildreth made the most of his life, going on to top score for Somerset with 39 from 28 balls. If Glamorgan had taken that chance they could have been chasing around 120; instead they would need 153 to claim victory.

The surprise package of the night was Ingram's bowling as he picked his best T20 figures of 3 for 20 with his occasional leg breaks. He bowled with real guile, with the ball that had Lewis Gregory out stumped particularly impressive. By adding bowling to his stellar batting form he has further cemented his place as Glamorgan's star man in this competition.

While van der Gugten impressed with his bowling, he was out done by his Dutch colleague Paul van Meerkeren who bowled with real pace and was unlucky not to claim more wickets. He did dismiss Mark Wallace who top edged a catch to long leg but there were a number of other chances that fell just short of a fielder. His figures of 1 for 45 did not accurately reflect how well he bowled.

Glamorgan lost David Lloyd in the eighth over to bring together Ingram and Aneurin Donald who registered the fastest ever first-class double hundred against Derbyshire this week.

Between them they turned what could have been a difficult chase into a stroll as they put together a stand of 76 from 53 balls. Ingram fell before the job was finished but he had done enough for Glamorgan to win by seven wickets with 12 balls to spare.

Somerset captain Jim Allenby expressed his frustration at Somerset failing to perform on what he judged to be a very good Cardiff pitch.

"It is disappointing and frustrating," he said. "In all the years I played at Glamorgan and that his the best pitch that I have seen. That was a fantastic cricket pitch, short boundaries, everything that you want as a batsman and we have been bowled at for 150 on it.

"So it's really frustrated as a team and also individually on missing out on getting a big score out there. These things happened but it has happened all too often this season."