Warwickshire remain in charge of their Division One clash with Nottinghamshire at Edgbaston despite suffering a second-innings batting collapse on day three.
Having opted not to enforce the follow-on, the champions slumped to 75-5 before eventually getting to 180-6 by the time they declared, setting their rivals 427. Nottinghamshire were 38 without loss at the close of play.
The visitors will hope to make a better fist of batting than they managed first time around, their total of 217 leaving them firmly up against it.
New Zealand off-spinner Jeetan Patel claimed 4-60; his haul included the key wicket of Michael Lumb as the left-hander pushed a catch back to the bowler after making 51.
However it was a crucial spell of three wickets for 16 runs by Keith Barker that put Warwickshire firmly in control, starting with him getting Samit Patel caught at first slip for 19.
The left-arm seamer then removed the well-set James Taylor for 80 and, just three balls later, sent back Chris Read before the Nottinghamshire skipper had troubled the scorers.
Rikki Clarke dismissed Ajmal Shahzad after the pair had earlier shared a heated exchange of views when the latter had twice pulled away when Barker was running in to bowl.
Nottinghamshire lost their last seven wickets for 40 runs only to hit back with the ball, Shahzad himself taking two wickets during a fiery eight-over spell.
However, a stand of 104 between Chris Woakes (60) and Clarke - the latter making an unbeaten 54 from 41 balls - rescued the hosts, who will now have high hopes of recording a second successive victory in the competition.