Brendan Nash retired ill on 199 as Kent secured their first LV= County Championship Division Two win of the season after an enthralling final day against Gloucestershire at Cheltenham.
Requiring 411 for victory from 96 overs, Kent won with two wickets and 14 balls remaining thanks largely to the brilliance of Nash, who had to retire through exhaustion with 21 still needed to win.
The Australia-born former West Indies batsman struck 26 fours and a six in his 230-ball innings when he retired after batting for five hours on the hottest day of the year.
The game was finely balanced for most of the day, but Nash and skipper James Tredwell swung it Kent's way with an eighth-wicket stand of 58.
Teenage paceman Craig Miles was the most successful of Gloucestershire's attack with 4-68, while there were two wickets apiece for Will Gidman and Benny Howell.
Kent took tea on 247-4, which left them requiring 164 from the final 39 overs, and they stayed firmly in the hunt thanks to a rapid stand of 75 between Nash and Darren Stevens.
Miles returned at the College Lawn End to have Stevens taken at slip by Alex Gidman, but Nash remained largely untroubled on his way to bringing up his 150 from 159 balls.
Geraint Jones added 55 for the sixth wicket with Nash before an attempted cut at Will Gidman only resulted in a third victim of the innings for Roderick. He soon had a fourth as Vernon Philander edged Howell to depart for two and leave Kent on 332 for seven.
Tredwell and Nash saw off the threat of the second new ball and had taken Kent to within sight of the finishing line when Nash went off through exhaustion.
Miles bowled Tredwell with no addition to the total, but Charlie Shreck, with three boundaries, and Calum Haggett completed a dramatic win for the visitors.