ROBERT Croft took a wicket with his final ball in first-class cricket as Glamorgan ended Kent's promotion hopes with a day to spare in their final LV County Championship Division Two match of the season.
The 42-year-old off spinner had Charlie Shreck caught at long-off as Kent were bowled out in their second innings for 280 after following on. Croft was given a guard of honour by his team-mates as he walked off.
Glamorgan were left with 61 runs needed to victory at Cardiff and they achieved it by seven wickets, following the early losses of Nick James, Stewart Walters and Will Bragg.
The hosts took 23 points to ensure they finish at least seventh in the table, with Kent taking three.
Kent had started the day with a mountain to climb to get back into a game they needed to win to have any hopes of gaining promotion to Division One.
They resumed the third morning on 33 for two following on needing a further 187 to avoid an innings defeat.
Sam Northeast and Brendan Nash survived the first 15 overs, taking the total on to 91 for two before John Glover forced Northeast to edge behind.
That heralded a mini-collapse as three wickets fell in the space of 13 balls with Glover claiming Nash, who hit 50 from 72 balls, and Darren Stevens with consecutive balls.
Nash was surprised by a delivery which bounced higher than expected as he gloved Glover behind before Stevens went leg before wicket for a first ball duck.
Croft came into the attack 13 minutes before lunch and was struck for six over long-on from the final ball of his first over by Geraint Jones.
Jones and Michael Powell went on to frustrate Glamorgan for 30.3 overs, putting on 83.
It was the introduction of Croft for a second spell that finally undid Powell, who was caught at slip by Jim Allenby for 41.
Jones went on to record his seventh Championship half-century of the season as he helped to knock off the arrears and ensure Glamorgan would have to bat again.
But Kent suffered a double setback in the space of two balls as Jim Allenby trapped both James Tredwell and Matt Coles leg before playing across the line, leaving Kent 244 for eight.
That lead had added another 13 before Geraint Jones was caught at deep midwicket after top-edging a hook off Allenby.
The 10th wicket added 23 before Croft produced the perfect end to his professional career with the wicket of Shreck, caught by Nash.