Sri Lanka won the first Test against Pakistan in a dramatic finish in Galle.
Set 99 runs in 21 overs, after taking nine wickets on the final day, they reached their target with 28 balls to spare.
Captain Angelo Mathews hit the winning run, having blasted 25 off 13 balls, as they pulled off an improbable victory.
Sri Lanka scored 24 from the first six overs and needed five-an-over from the mandatory final 15 overs.
Despite losing wickets and Pakistan using go-slow tactics and fast bowlers from both ends under darkening skies, they managed to reach their target in 16.2 overs to take a 1-0 lead in the two-match series.
Both sides had scored over 450 in their first innings, but Pakistan were skittled for 180 on Day 5.
Having resumed on 4-1, they slipped to 66-4 at lunch, with Dhammika Prasad removing nightwatchman Saeed Ajmal (4) and Ahmed Shehzad (16) before Rangana Herath picked up the key wicket of Younis Khan, bowled through the gate for 13.
Azhar Ali (41) and captain Misbah-ul-Haq (28) put on 56 for the fifth wicket before they both fell in the space of three balls to Herath and Dilruwan Perera respectively.
Asad Shafiq and Abdur Rehman were dismissed before tea and Herath wrapped up the tail to finish with incredible figures of 6-48.