Yorkshire 353 (Malan 106, Watt 5-83) and 215 for 7 (Masood 95*, Bess 41*, Watt 4-74) beat Derbyshire 111 (Fisher 5-30) and 453 (du Plooy 170, Haider 146) by three wickets
Yorkshire celebrated a County Championship victory for the first time in 14 months when they beat Derbyshire by three wickets on the final morning of the match at Chesterfield.
Shan Masood played the leading role against his former county with an unbeaten 95 off 112 balls while a run-a-ball 41 not out from Dom Bess helped see the visitors home after Dawid Malan had fallen to the first ball of the day.
Yorkshire needed 65 when Mark Watt removed Malan but Masood and Bess played with composure to share an eighth-wicket stand of 68 from 82 balls to win a gripping contest on 215 for 7
The odds had shifted in Derbyshire's favour when Watt struck with the first ball of the morning. Malan tried to paddle sweep the left-arm spinner but only succeeded in lobbing a simple catch to Matt Lamb at short leg.
Given the situation, it was a poor shot by a player of Malan's quality and experience and put even more responsibility on the shoulders of Masood.
With balls keeping low,, there was little margin for error but Bess eased some of the tension by sweeping Watt behind square for four before Masood stroked Alex Thomson to the cover boundary.
There were more cheers from the Yorkshire dressing room when Bess cut Watt for four and clipped him through midwicket for three but there was an anxious moment for the visitors in the same over.
Masood was on 76 when he missed a sweep at Watt and umpire Chris Watts appeared to uphold the appeal but was only signalling to the bowler to get off the pitch.
Bess drove Thomson through the covers for another four and when Zak Chappell replaced Watt at the Pavilion end, Masood turned him behind square to the ropes.
Watt switched to the Lake end but the target was now under 20 and Masood swept him to the midwicket boundary to move into the nineties.
With 14 required, Thomson replaced Chappell but Bess skipped down the pitch to whip him through midwicket for four and in the next over, he swept Watt for another boundary to take Yorkshire to within touching distance of the finishing line.
With everyone around the bat, Bess turned Watt through midwicket for three and struck the winning blow by pulling a Thomson full toss to the boundary shortly before midday to finally end Yorkshire's 17-game wait for a red-ball victory.