Brett D’Oliveira spearheaded a splendid Worcestershire rearguard action with a superb century on the third day of the Specsavers County Championship match with Glamorgan at Sophia Gardens.

The all-rounder followed up his career best 7-92 with the ball by coming in at number nine at 234-7 after Ed Barnard’s departure for an excellent 56 and leading the County to 370 all out.

D’Oliveira helped ensure Worcestershire avoid the possibility of being asked to follow on in reply to Glamorgan’s first innings total of 449.

He received particularly excellent support from last man Adam Finch during a stand of 68.

D’Oliveira was only in his 40s when Finch came to the wicket.

But the pace bowler survived 49 deliveries and remained unbeaten as his team-mate went to his first Championship hundred since September 2017 against Leicestershire at Blackfinch New Road.

Glamorgan reached 137-1 from 36 overs in their second innings by the close – a lead of 216.

Worcestershire resumed on 191-5 and suffered an early blow when nightwatchman Charlie Morris was run out for seven.

Barnard turned Marnus Labuschagne around the corner for set off for a single but Morris failed to beat Billy Root’s throw to keeper Tom Cullen.

All-rounder Barnard has looked at ease in his new number six role and had starts of 32 against Lancashire – when he finished top-scorer – and 29 against Sussex.

But this time he completed a fine 50 off 93 balls with five fours when turning Lukas Carey off his legs to the boundary.

He eventually fell for 56 when Michael Hogan bowled a tight spell and eventually trapped him lbw with a ball of full length.

Keeper Ben Cox (12) dug in for much of the morning session but then went for a pull against Dan Douthwaite and the ball appeared to flick his glove on the way through to Cullen.

Worcestershire went into lunch at 284-8 and a third batting point was secured – and the possibility of following on avoided – when club captain Joe Leach turned Douthwaite for two.

Hogan had Leach (16) caught behind with a fine delivery of extra bounce which swung away at 302-9 but then came Finch’s staunch support of D’Oliveira who scored freely and looked back to his best.

He reached three figures with a drive for four off Hogan and received great support from his team-mates and the Worcestershire supporters in the ground.

D’Oliveira eventually fell later in the same over – caught and bowled by Hogan – for 103 from 158 balls with 12 fours to leave Finch unbeaten on five.

Hogan had fine figures of 29.5-9-62-5.

When Glamorgan started their second innings after tea Leach struck a quick blow when he had Owen Morgan (0) caught behind in the first over of the innings.

But Marnus Labuschagne was allowed to get into his stride and again looked in good touch as he raced to a 48 ball half century with nine fours.

He had moved onto 90 not out by the close and with Nick Selman (42 not out) added an unbroken 136 for the second wicket.