Jon Lewis took 4-25 as Gloucestershire secured a 134-run victory over Derbyshire, their fourth win of the season in LV County Championship Division Two.
Derbyshire resumed on the final morning on 5-0 in pursuit of a target of 301 but soon slipped to 15-4 in the face of some disciplined seam bowling from Lewis and new-ball partner Steve Kirby.
Kirby (2-22) accounted for openers Wayne Madsen (4) and Chris Rogers (7), and Lewis followed up by dismissing Garry Park and Greg Smith for ducks to leave the hosts in disarray.
Chesney Hughes and Dan Redfern (27) rallied with a stand of 47 for the fifth wicket, the highest of the innings.
But wickets continued to fall regularly after lunch, including two for left-arm spinner Vikram Banerjee (2-38), as Derbyshire were all out for 166.
Hughes, the Anguilla-born teenager who made his maiden first-class hundred in the first innings, was ninth out for 75, trapped lbw by Lewis, who then bowled last man Atif Sheikh (0) in his next over to complete the win.
The 20-point haul means Gloucestershire are third in the table and Derbyshire, despite suffering a third straight loss, move up to sixth above Middlesex - who were not playing - after taking six points.
A spirited display from Gloucestershire's batsmen allowed them to set Derbyshire a victory target of 301.
Resuming at 47-1 on the third morning still 56 adrift, opener Kadeer Ali led the way with 74 as the visitors took an aggressive approach.
Dent, coming in at number five, continued the good work by smashing 98 off just 85 balls, including 14 fours and two sixes.
The 19-year-old dominated half-century stands with Jonathan Batty (18) and Hamish Marshall (40) but fell to paceman Atif Sheikh (2-74) two short of a maiden first-class hundred.
Alex Gidman (42), James Franklin (37) and Jon Lewis (34) all made contributions lower down the order before Gloucestershire were all out for 403 late in the day, Greg Smith finishing with 3-54.
Derbyshire openers Chris Rogers (2no) and Wayne Madsen (0no) survived 16 balls before the close to leave the home side's run chase on 5-0 overnight.
Chesney Hughes completed a maiden century on Tuesday as Derbyshire took control of their County Championship Division Two match against Gloucestershire at Derby.
Playing only his fifth championship innings, the 19-year-old Anguillan made 118 runs in all and also shared a stand of 134 with skipper Chris Rogers, who scored his fourth hundred of the season.
The pair batted through most of the morning and with Rogers reaching three figures by sweeping Vikram Banerjee for his 18th four, the Australian's touch was such that it came as a surprise when he edged a drive at Gemaal Hussain on 115.
Hughes continued to make progress and although Banerjee (four for 62) made progress through the lower order, by the time he was run out for 118, Derbyshire's tail had provided enough resistance to build a lead of 103.
Gloucestershire were left with 10 overs to negotiate and they reduced their arrears by 47 before the close but they also lost Steve Snell, who was bowled by Greg Smith for 21, to trail by 56 runs in their second innings with two days remaining.
Jonathan Batty's half-century and 76 in extras helped Gloucestershire to a first-innings score of 242 on the first day against Derbyshire.
Opener Batty made a painstaking 61, the first time he has passed 50 this season, but the visitors lost wickets regularly after opting to bat first.
They were, however, given a helping hand from the Derbyshire bowlers, who sent down 38 no-balls and 13 wides.
The worst no-ball culprit, Atif Sheikh, finished with 3-78, while Tom Lungley (2-45), Greg Smith (2-28) and Robin Peterson (2-19) each claimed two scalps.
Skipper Chris Rogers' 49 not out guided Derbyshire to 71-3 in reply at the close, still 171 behind.