England fell two balls short of a remarkable escape as Sri Lanka won the second Test to secure a 1-0 series victory.
Last man James Anderson was caught at leg gully off Shaminda Eranga from the penultimate ball of the final day at Headingley, reports the BBC.
Anderson had earlier survived for 20 overs in the company of Moeen Ali, who batted through the day for an unbeaten 108 off 281 balls.
But when Anderson failed to ride a bouncer, the ball looped to Rangana Herath to see England bowled out for 249 to lose by 100 runs.
Anderson slumped over his bat in disappointment, while Sri Lanka huddled on the pitch to celebrate their first series triumph in England, having won a one-off Test in 1998.
The Test series loss also completed a clean sweep for Sri Lanka after victories in the Twenty20 and one-day series.