Number 11 Nuwan Pradeep survived five dramatic balls from Stuart Broad to help Sri Lanka avoid defeat after James Anderson ripped through the visitors to almost force an England win in the first Test at Lord's on Monday.
Pradeep survived the final five balls, including successfully reviewing an lbw decision on the penultimate ball and edging the last just short of slip, to seal the draw as Sri Lanka finished on 201 for nine ahead of the second and final test starting on Friday in Leeds.
"I would have liked them to have used their reviews up," England captain Alastair Cook joked to BBC radio, acknowledging Pradeep had hit the ball before it struck his pads.
Anderson had got rid of Mahela Jayawardene (18), Kumar Sangakkara (61) and Lahiru Thirimanne (2) in the space of 14 balls either side of tea, before returning with the new ball to remove captain and last recognised batman Angelo Mathews (18).
Cook had set Sri Lanka 390 to win in 90 overs after declaring England's second innings on their overnight score of 267 for eight, although taking 10 wickets on a lifeless wicket was always going to be a tall order for his four-strong seam attack.
While they could not quite get the job done, the performance, which included centuries by Joe Root and Gary Ballance, will give hope to an England side looking to move on from the controversial end to Kevin Pietersen's international career and the 5-0 Ashes thrashing in Australia.
Sri Lanka had half an eye on an outrageous attempt to win the match and made steady progress in their second innings, losing opener Dimuth Karunaratne for 16 before lunch.
Sangakkara and Kaushal Silva put on 98 for the second wicket before the latter fell for 57, his second half-century of the match.
The diminutive Silva held his nerve in the face of some well directed bouncers from Liam Plunkett to add to his first-innings 63, before gloving Chris Jordan through to keeper Matt Prior down the leg side.
Jayawardene also came in for a short-pitched examination from Plunkett but eventually went to Anderson as he feathered an edge through to Prior, leaving the tourists 266 behind at tea with seven wickets left.
With 34 overs left in the Test, Sri Lanka were looking towards Sangakkara to provide a solid base, but Anderson had other ideas.
After passing 50 for the sixth straight innings, Sangakkara chopped the ball onto his stumps from Anderson in the third over after the interval.
Thirimanne, who failed to look at ease in his two appearances at the crease, edged Anderson to Jordan in the slips four balls later to raise home hopes of an amazing end to the Test.
The visitors were teetering at 170 for five, but captain Mathews and wicketkeeper Prasanna Jayawardene, ruled out of the second Test due to bruising in his hand, resisted the fired-up English attack for just over 20 overs, taking a number of blows to the body in the process.
The put on 24 runs in 121 balls before Prasanna went lbw to Jordan and then Nuwan Kulasekara fell in similar fashion to Broad soon afterwards.
Mathews later edged to Cook in the slips to give Anderson his fourth wicket of a remarkable effort and the Lord's crowd suddenly believed a famous victory could be in sight.
Broad dismissed Rangana Herath with the first ball of the final over but Pradeep survived the remarkable final five balls.