A gritty 47 from Tim Ambrose on a turning Uxbridge pitch led to a maximum points victory but Warwickshire were made to work hard for their five-wicket LV= County Championship win over Middlesex.
Ambrose dug in for 91 minutes and hit six fours only to succumb with Warwickshire 12 short of the winning line as the visitors overcame a case of the last-gasp jitters to secure victory by reaching 111-5.
At the start of the final day Adam Voges continued his role as the major thorn in the Warwickshire side as the Australian once again showed most resolve and offered the hosts their main chance of saving the game.
The wiry right-hander from Perth, making his first-class debut for the county, followed his first-innings 150 with a patient yet stylish 88-ball 50, but as with the Middlesex first innings, wickets continued to fall at the other end.
Toby Roland-Jones (17) propped forward to Jeetan Patel to proffer a bat-pad catch to Varun Chopra at silly point then Gareth Berg (12) was caught behind off the same bowler when looking to cut one that popped off the surface.
Voges' resistance ended four balls after his 50 when, in aiming to push drive straight against Chris Woakes, he chipped a return catch to the bowler.
Rayner (19) gave Patel a third scalp when he aimed to sweep only to balloon a bat-pad catch to Clarke running back from slip toward fine leg.
The last-wicket pair at least made Warwickshire play extra time but, 10 minutes after the scheduled start to the lunch break, Ravi Patel (19) nicked an attempted drive through to the keeper as Middlesex were dismissed for 286.
With little option but for all-out attack, Middlesex opened with off-spinner Ollie Rayner from the Gatting Way End a ploy that quickly reduced the Bears to 5-2. Chopra (two) chipped Rayner's fourth delivery to short mid-wicket then Laurie Evans (zero) advanced to drive only to pick out Neil Dexter at mid-on.
In a lively mid-session, Middlesex turned to spin at both ends for half-an-hour but it was the re-introduction of Corey Collymore that led to Ian Westwood's demise for six when he feathered to Adam Voges at third slip.
Ateeq Javid (19) and Ambrose added a useful 33 inside 15 overs before Javid nicked a Berg leg-cutter to the keeper to leave Warwickshire on 77-4 at tea - still 33 shy of their target.
Ambrose fell just before the end, caught off inside edge and then pad to a catch at silly point when trying to flick to leg, but Rikki Clarke marched in to win it in style with a brace of boundaries.