England won the first Ashes Test against Australia by just 14 runs on an unbearably tense final day at Trent Bridge.
James Anderson (5-73) took all four remaining wickets but not before Brad Haddin had taken tourists to the brink of an epic victory.
Australia took a belated lunch on 231-9 with Haddin (71) and No 11 James Pattinson (25 not out) already having added 60 runs for the final wicket.
They added six more on the resumption before Anderson got one past Haddin's inside edge, only for umpire Aleem Dar to turn down appeals for caught behind.
Alastair Cook called for a TV review apparently more in hope than expectation but when Hot Spot showed a clear nick Dar raised his finger and the match was over.
England had appeared to be on their way to victory much earlier in the day when Anderson ripped through the lower order after taking the new ball as the Aussies chased their target of 311.
Haddin and Ashton Agar resumed their partnership with the score on 174-6 and frustrated the hosts for the best part of an hour in front of another full house in Nottingham.
Anderson - who took 10 wickets in the match - was already into his eighth over of the morning when Agar (14) flashed a catch to Alastair Cook at slip, to end a stubborn and increasingly threatening stand of 43 with Haddin.
And in his next over Anderson claimed the wicket of Mitchell Starc for only a single when Cook again provided the safe hands for a similar dismissal off another expansive outside-edge.
The tourists had crept up to 231-8 before the England seamer struck for a third time, Cook making amends for grassing a simpler chance off Peter Siddle (11) the over before by clinging on to a one-handed catch that left his side on the brink of victory.
The tireless Anderson was finally taken out of the attack after his 13-over spell of 3-21, and with nothing to lose Haddin opened his shoulders to both Graeme Swann and Steven Finn - the latter smashed through the arc for three consecutive boundaries in his first over that went for 15.
In doing so, Australia's wicket-keeper passed 50 in Tests for an 11th time and as his side moved to within 50 runs of victory there was palpable tension in the air.
And when Pattinson square drove Finn to the fence before launching Swann into the stands the last pair had quickly put on a remarkable half-century partnership off just 46 balls.
Jonny Bairstow missed a chance to run out Haddin before Finn dropped a difficult chance in the deep the bowling of Swann, but the Aussies batted out the extra half hour before lunch that was called for to set up a dramatic finale.
The result could have gone either way but the finale was anti-climactic in a sense, with the review system - which came under so much scrutiny earlier in the match - working in England's favour in the end.