Luis Reece took 5-47 to put Derbyshire in a good position on Day Two of the Specsavers County Championship match against Durham at The Pattonair County Ground.
Tom Lace remains unbeaten on 41 as Derbyshire take a 133-run lead into the third day, after the hosts had earlier bowled out the visitors for 171.
Reece claimed his second five-wicket haul for Derbyshire, the previous being his career-best 7-20 against Gloucestershire in the final match of 2018.
Ravi Rampaul also took 3-47 as each bowler took a wicket in a good bowling performance from the hosts, with Derbyshire to resume on 107-3 on Day Three.
Nightwatchman Matt Salisbury resumed the innings alongside Alex Lees with the score on 41-3 as Rampaul’s probing line paid dividends.
The West Indian got the breakthrough to remove Salisbury (12) as he top-edged a short ball to Anuj Dal at point.
Rampaul then got the big wicket shortly after as he trapped Lees lbw for 32 with wickets beginning to fall at regular intervals.
Tony Palladino came into the attack to remove Stuart Poynter (8) and reduce the visitors to 106-6 at lunch.
However, Jack Burnham and Liam Trevaskis remained resolute in defence after the interval to frustrate the Derbyshire bowlers.
Their partnership was worth 40 runs before Reece got the breakthrough as Burnham was caught behind for 31.
Rampaul then brought another new batsman to the crease as he removed Trevaskis (15) as the visitors slipped to 143-8.
Reece then claimed his five-wicket haul to remove James Weighell (8) and Ben Raine (20) as Durham were 171 all out, giving Derbyshire a first-innings lead of 26 runs.
The all-rounder then came out to open the batting alongside Billy Godleman, as the pair were patient in the opening exchanges to take the score to 20-0.
However, Salisbury got the breakthrough for the visitors to remove Reece (10) before Godleman also fell shortly after.
Raine came into the attack to remove the Derbyshire captain for 19 as the hosts slipped to 33-2.
Tom Lace joined Madsen in the middle as the pair looked to steady the ship after tea, taking the score to 72-2.
They brought up their half-century partnership off 86 balls but Madsen (30) fell shortly after as Salisbury took his second.
Lace looked in good touch as he continued alongside Hughes (7 not out) as bad light brought an end to the day as Derbyshire finished 107-3.
Vitality Blast is back! Derbyshire Falcons host seven Twenty20 games this summer. Purchase your tickets in advance and save. Buy online or call 01332 388 101.