Chris Woakes responded to his Ashes disappointment with a battling century to rescue Warwickshire against relegation-threatened Derbyshire in the LV= County Championship.
Woakes, who played in the fifth Investec Test versus Australia but was left out of England's squad for this winter's tour, scored an unbeaten 102 from 195 balls as Warwickshire recovered from 120 for six to close day one on 285 for eight after they were put in.
Woakes' former team-mate Tim Groenewald had taken four wickets to give Derbyshire an early boost.
But Woakes was given excellent support by first Jeetan Patel, who made 40, and then Maurice Chambers, who stayed with Woakes for 109 minutes in an unbroken stand of 68 for the ninth wicket.
Derbyshire came into the game knowing only a win would give them a chance of staying in Division One and Mark Footitt offered them a great start by removing both openers in the first five overs.
Footitt bowled four no-balls in his opening over but in his next Ian Westwood edged to third slip where Alex Hughes held an excellent low catch.
The ball was swinging on a humid, cloudy morning and Footitt found enough movement to pin Varun Chopra in front to reduce Warwickshire to 18 for two and the visitors would have been in deeper trouble but for two dropped chances by wicketkeeper Tom Poynton.
He spilled a straightforward chance when Ateeq Javid edged Footitt on six and put down a harder opportunity diving to his right off Tony Palladino when the same batsman had scored 13.
Derbyshire claimed a first bowling point when Laurie Evans was lbw on the move to Groenewald and the home side struck gold after lunch as Warwickshire slumped to 148 for seven.
Former Derbyshire skipper Rikki Clarke edged the second ball after the interval from Palladino to third slip and then Groenewald had Javid caught behind down leg for 46 from 119 balls.
Stuart Poynter, who has signed for one game because of Warwickshire's wicketkeeping crisis, drove his fourth ball back to Groenewald, who then had Keith Barker caught behind to put the home side on top.
But Woakes, who played a match-winning innings against Surrey last week, again delivered and with Patel added 69 in 17 overs before the New Zealand off-spinner skied Hughes to deep mid-off.
Footitt dropped a simple return catch to reprieve Woakes on 83 and he made the most of that escape to complete his seventh first-class hundred as he and Chambers dug in for 29 overs to frustrate Derbyshire.