Jake Ball’s marathon effort with the ball was ultimately in vain as Nottinghamshire were ultimately defeated in a topsy-turvy encounter against Derbyshire at Trent Bridge.
The fast-bowler completed 34 overs of hearty fast bowling, taking 3 for 98, only for Fynn Hudson-Prentice to guide the visitors to victory with an unbeaten knock of 91.
The Derbyshire all-rounder’s well-judged innings occupied 169 balls as Derbyshire chased down a 365 target with one ball to spare.
Nottinghamshire were perhaps the favourites when Derbyshire slipped to 234 for 6, but Hudson-Prentice shared half-century stands with Mattie McKiernan and Michael Cohen to give a game of changing fortunes one final twist.
Both teams went into the final morning with expectations of victory and – under overcast skies - Godleman and Madsen had to fight for every run against disciplined pace bowling.
Godleman drove Evison to the cover boundary to bring up the century stand just before a short rain delay.
But when play resumed, the young fast bowler trapped Derbyshire’s captain lbw with a full-length ball that he played slightly across.
It was to be Evison’s last contribution as he left the field with a foot injury in the same over. But despite being a bowler down, Nottinghamshire chipped away and claimed another big wicket before lunch.
Leus du Plooy had scored a century in the first innings, but this time he moved across his stumps to Steven Mullaney who swung the ball back in to have him lbw for seven.
Derbyshire’s hopes now seemingly rested with Madsen, who scored only 15 runs in the first session and his obdurate innings ended soon after lunch.
Madsen had faced 174 balls for 43, but Ball defeated him with a full delivery that caught him in front on the crease and Harvey Hosein had his stumps scattered by the Notts paceman four overs later.
Critchley accompanied Hudson-Prentice for 19 overs, adding 42, and tea was in sight when Patel lured Derbyshire’s leg-spinning all-rounder down the pitch and Tom Moores whipped off the bails.
Notts took the new ball as soon as it became available, but the breakthrough did not come with Hudson Prentice and McKiernan playing calmly as the overs ticked away.
Ball came back at the Radcliffe Road End and squeezed one through McKiernan’s defence to break a stand that added 65 in 23 overs.
But Derbyshire continued to fight, with Cohen twice driving Ball to the cover boundary as the target came down to 27 from five overs.
Hudson-Prentice pulled the first ball of the next over from Ball for four and then lifted Patel over mid-on to leave Derbyshire needing 13 from three.
That came down to five from the final over and Cohen completed the victory when he swung the penultimate delivery from Ball to midwicket for the winning runs.
When it comes to sharing the action from Trent Bridge this summer, our multi-camera live stream has got you covered. Watch live...