Title contenders Warwickshire needed a helping hand from the weather to escape with a draw against Middlesex at Edgbaston.
Set a distant target of 367 after prising out Middlesex for 412, they lost half their side for 86 but struggled through to 152 for seven with an hour lost to drizzle and the last 40 minutes chalked off because of bad light.
The hosts used 11 overs at the start of the day to finish off Middlesex's innings, Dawid Malan (!40) and Berg (78) making a stand of 105 before Chris Wright (5-119) dismissed both and Boyd Rankin picked up two more wickets for a return of 5-78.
The visitors' new-ball attack removed opening pair Ian Westwood (0) and Varun Chopra (4) in quick succession before William Porterfield (12) was stumped and Darren Maddy (10) followed lbw to leave the hosts on 54-4 after 17.5 overs.
Riki Clarke was trapped leg before after making 10 but skipper Jim Troughton toughed it out for 42 before he was caught behind off rookie spinner Ravi Patel to make it 100-6 with the final ball of the 37th over.
Patel added Ian Blackwell (23) to the scalps of Troughton and Porterfield to end with figures of 3-60 but they could not dislodge Ambrose (33 not out) and Keith Barker, who faced 44 balls for three runs before play was halted.
Chris Rogers and Dawid Malan both struck centuries on day three as Middlesex turned up the heat on title-chasing Warwickshire at Edgbaston.
In the morning session Warwickshire added 40 runs for their final two wickets to establish a handy first innings lead of 46 as they were eventually dismissed for 333.
Chris Wright then picked up the wickets of both Sam Robson (one) and Joe Denly (15) before Middlesex had wiped out the deficit to put the hosts firmly in charge.
But Rogers and Malan then came together in a formidable third-wicket alliance which swung the momentum of the match right away from the hosts.
Rogers (109) made his third century of the season as the duo put on a stand of 203, the Middlesex skipper finally departing shortly after tea when an attempted cut of Boyd Rankin was taken at slip by Varun Chopra.
Rankin quickly added the scalps of Neil Dexter and Adam Rossington to reduce Middlesex to 252-5, but Malan stood firm and put on another century partnership with Gareth Berg (53 not out) as he finished the day unbeaten on 138.
Championship leaders Warwickshire suffered a late collapse after getting themselves into a strong position on day two against Middlesex at Edgbaston.
Ian Westwood's hit his second Championship hundred against Middlesex in 19 days and the hosts cruised past 200 with only two wickets down in response to 287, but were pegged back to 293-8 when a downpour halted a new-ball burst by resilient Middlesex.
Toby Roland-Jones took 3-16 in five overs and Tim Murtagh claimed the big prize when Warwickshire captain Jim Troughton was caught at second slip for 50.
Up to then it had been Westwood's day. If his recent 111 at Uxbridge was attritional - he took blows on the head, finger, ribs, thigh and thumb - here he was able to enjoy a more relaxed passage to 120.
In the space of 11 deliveries he stroked five boundaries in moving from 70 to 91, but with a ninth championship century in touching distance, he used up 22 more balls before reaching three figures with a four past mid-wicket off
Earlier in the year Westwood was the batsman who had to stand down when England made Ian Bell available for four championship appearances, but a strong finish is transforming his season. In his last five innings he has scored 381 runs at average of 76.20.
In seven deliveries Roland-Jones fired out Rikki Clarke and Tim Ambrose, both caught by promising keeper Adam Rossington, and the paceman then trapped Ian Blackwell lbw immediately after the on-loan all-rounder had put Warwickshire in front.
A rare century from Neil Dexter held up title-chasing Warwickshire as Middlesex made 287 on the opening day of the LV= County Championship clash at Edgbaston.
The Division One leaders had time to make 21 without loss in reply before a burst of heavy rain ended play with 16.5 overs still to bowl.
Dexter's unbeaten 84 in the recent meeting betwen the counties at Uxbridge was only his second half-century of the season and his 101 took him to three figures in the championship for the first time in 16 months.
In all he hit 17 boundaries before he was out leg-before to Boyd Rankin's second delivery after tea.
Warwickshire's seamers bowled 11 no-balls and two wides, but some measure of control was achieved by loan signing Ian Blackwell as Middlesex lost their last five wickets for 71 after Dexter's partnership of 95 with Adam Rossington.
Out of the frame at Durham, Blackwell was brought in by Warwickshire as spin cover when New Zealand called up Jeetan Patel for two Tests in India.
A return of 4-47 on his debut was a timely boost as the seamers struggled for a breakthrough in the afternoon.