Nottinghamshire will have to return on the fourth morning to try and complete their LV= County Championship win over Somerset at Trent Bridge.
Set 110 for victory they closed on 66 for three, with Craig Overton having picked up all of the wickets to fall, at a cost of 23 runs.
The home side were frustrated in their bid to complete the win on the third evening as bad light curtailed the final session after Peter Trego had earlier scored a battling century to steer his side to 402 all out in their second innings, a lead of 109.
Trego made an unbeaten 107, scoring his runs from 122 deliveries, hitting 10 fours and two sixes. His knock followed scores of 77 from Chris Jones, a championship best, 54 from Craig Kieswetter and 50 from number 11 Jamie Overton.
Five Nottinghamshire bowlers shared the wickets, with Andre Adams returning the best figures of 3-103.
Somerset had been heavily outplayed in most of the sessions over the first two days but could at least claim a share of the spoils during the morning period, adding 82 runs for the loss of two wickets.
James Hildreth was the first to go, mistiming an attempted pull off Ajmal Shahzad straight into the hands of short midwicket.
Wicket & end of innings: J.Overton tidily caught at slip by Riki Wessels off Siddle. Nottinghamshire require 110 to win. #NottsvSom
— Nottinghamshire CCC (@TrentBridge) June 24, 2014
Harry Gurney, with his first delivery of a new spell, ended Jones' stubborn resistance, with the unlucky batsman inside-edging back onto his leg-stump to end a four-hour vigil.
Jones faced 184 balls, hitting 10 fours and had shared in a stand of 48 with Kieswetter, who had been dropped at slip on four.
A flurry of early afternoon runs showed Somerset's intentions. Kieswetter moved to a fifty from 75 balls, having hit 10 fours and one six, during an over which saw him take 14 runs from Shahzad.
Adams ended the sixth-wicket stand at 60 thanks to a stunning catch by Alex Hales at deep midwicket, who ran 40 yards before sliding in to catch Kieswetter's mistimed pull.
Fifteen balls later, Craig Meschede lifted Samit Patel high down the ground, where Hales, back-peddling and turning, took another excellent catch as the ball came over his shoulder.
Adams bagged his third wicket as Craig Overton edged behind for the second time in the match but then George Dockrell and Jamie Overton gave Trego the support he needed to take his side into an overall lead and to reach three figures.
The ninth-wicket stand eventually realised 66 before Dockrell failed to clear mid-on, giving Patel his 200th first-class wicket, and then Jamie Overton helped add 71, reaching his own 50 in just 42 balls, with seven fours and two sixes.
Double wicket maiden for Craig O in the first over. 0/2......hmmmm, what to say on that?
— Somerset Cricket (@SomersetCCC) June 24, 2014
Nottinghamshire's run chase began in the most dramatic fashion, with Craig Overton sending down a double-wicket maiden, having Steven Mullaney caught at slip before James Taylor played on.
Patel made a punchy 41 but then lifted Craig Overton to mid-off, leaving Phil Jaques undefeated on 21.
Reviewing the day, Gurney said: "We came together before start of play and were all aware it would be a really tough day, so we're actually still pretty happy where we are in the fixture, we are still very much favourites and hopefully can come back in the morning, find the sun shining and knock these runs off.
"Whether we'd won this by an innings or 10 wickets, or five wickets, or three, we got all our bonus points so are still on course to take 24 from the game and keep the pressure on the other sides towards the top of the table."
Somerset centurion Trego said: "We spoke as a team and decided we wanted to take the game as far as we could. It probably won't be enough in this game but the way we played today should stand us in good stead moving forward and it will put the message out and show how much fight there is in our dressing room.
"It was day one where the match was won and lost, so we are very disappointed about that but rarely would you go through a season without having a bad day and that was ours."