David Wainwright impressed with bat and ball as Derbyshire moved into a good position on day three of their LV= County Championship Division Two clash with Leicestershire at Grace Road.
Wainwright, who earlier completed his maiden century for the visitors, claimed 5-54, becoming the first Derbyshire player to score a hundred runs and take five wickets in the same game since Jon Clare in 2008.
His efforts helped leave their opponents struggling on 200 for nine, although it could have been worse for the hosts after they lost their first three wickets for just 34 runs.
It leaves Derbyshire with a defricit of 175 and they will be looking to take the final wicket and secure a first win of the season tomorrow.
Greg Smith was the first to return to the pavilion as he was bowled by Wainwright to leave Leicestershire 33 for one and just two overs later his replacement Ned Eckersley was out for a duck, becoming the Yorkshireman's second victim before the lunch break.
— OptaJim (@OptaJim) June 10, 2014
Opener Angus Robson was gone for the addition of just one more run, stumped by wicketkeeper Gareth Cross off Wainwright.
The wickets continued to tumble for the hosts, with Wainwright taking a fourth when, the ball after being hit for six, he had Josh Cobb caught by Scott Elstone at short extra-cover.
Ramnaresh Sarwan improved on his first innings total of five but was caught at slip by Wayne Madsen off Mark Footitt having made 18, leaving the Foxes 74 for five.
Niall O'Brien started to mount a comeback for the home side and when Rob Taylor was dropped by Madsen at slip with 98 on the board it seemed their fortunes were changing.
However, Taylor would not remain around much longer as Madsen redeemed himself, taking the catch that gave Wainwright a deserved five-wicket haul.
Ben Raine put on a useful 58 with O'Brien before he departed for 19 with Paul Borrington taking a catch off Scott Elstone.
O'Brien was spilled on 68 at third man but he too was unable to punish the mistake, soon falling for 71 as Elstone claimed a second wicket.
— Derbyshire CCC (@DerbyshireCCC) June 10, 2014
When James Sykes was then trapped lbw by Footitt, the hosts were scenting a chance to bat again before stumps.
But Anthony Ireland and Alex Wyatt, who was playing with a runner, stood firm to the end of the day and will resume on the final day.
Earlier, Wainwright scored his maiden ton for Derbyshire. Resuming on 83, the 29-year-old went on to surpass the career-best of 104 he made for former county Yorkshire in 2008.
He was eventually out for 109 as he was caught at gully by Robson off Taylor.
Tom Taylor was the last man out three overs later, falling 10 runs short of a half-century. The 19-year-old was caught at mid-on by Josh Cobb off Sykes' bowling after adding a respectable 20 to his overnight score to leave Derbyshire 336 all out, a lead of 25 runs.