Kent 488 and 22 for 0 need 165 more runs to beat Glamorgan 260 and 414 (Lloyd 107, Wagg 106, Bragg 51, Stevens 4-79)

Centuries from David Lloyd and Graham Wagg restored Welsh pride and ensured Kent will need to be on their mettle if they are to open their Specsavers County Championship win account on the final day of this cut and thrust game in Canterbury.

Lloyd posted 107 for his maiden championship hundred, while Wagg - a thorn in Kentish sides on his last three appearances here - hit 106 to help Glamorgan to an impressive second innings total of 414.

Kent reached 22 without loss in the six overs through to stumps and need a further 167 on the fourth and final day to land their first victory of the campaign from three Division Two starts.

Trailing by 212 overnight, the visitors made the most of ideal batting conditions and were soon celebrating a Will Bragg half-century from 68 balls as he and James Kettleborough added 78 for the second wicket.

But Bragg then dragged one from Hugh Bernard on to off stump and Kettleborough edged a defensive push against Mitch Claydon to the keeper.

Two more Glamorgan wickets fell in the mid-session; Cooke fencing a short one from Matt Coles high to Tom Latham at second slip, who then snaffled a tumbling chance to his right that accounted for Aneurin Donald against the same bowler.

That bought together Lloyd and Wagg for a potentially game-changing stand. Wagg should have gone for 11 when he nibbled one to slip against Coles where Darren Stevens dropped Kent's fifth chance of the match. It proved a vital chance that caused the hosts to lose their way.

The visiting pair went on to set a new record sixth-wicket stand for matches between Glamorgan and Kent of 215 in 38.2 overs - beating an unbroken 206 set by Jim Pressdee and Alan Rees at The Mote in Maidstone in 1964 - on a day when press box sage, Edward Bevan, was Glamorgan's 12th man. "I remember it well," said Eddie. "Glamorgan were following on and Rees blocked an over of full-tosses from Colin Cowdrey. The crowd were in uproar."

Lloyd clubbed a long-hop from Adam Riley to reach his maiden four-day ton on a disappointing day for the Kent offspinner. Still rebuilding his action and confidence following a stint with the ECB Performance Programme two winters ago, Riley's wicketless final 10-over stint of the day cost 64 runs.

Wagg reached three figures, taking a ball more than Lloyd to do so, but both fell in quick succession once Kent took the second new ball. Lloyd edged a pull through to the keeper against Claydon, Craig Meschede shouldered arms to be bowled by Stevens without scoring then Wagg, working to leg against a straight one, departed lbw to Stevens to make it 377 for 8.

Stevens, who finished with 4 for 79, had Andrew Salter snaffled in the cordon by Latham, leaving Coles to have last man Michael Hogan caught behind to an eighth catch in the match by Adam Rouse.