Former captain Mahela Jayawardene was given a fairytale sendoff in his last Test as Sri Lanka eased to a 105-run victory that completed a 2-0 series sweep over Pakistan.
Sri Lanka first innings 320
Pakistan first innings 332
Sri Lanka second innings 282
Pakistan second innings
K Manzoor c Dickwella b Prasad 10
A Shehzad lbw b Prasad 8
A Ali c Jayawardene b Herath 10
Y Khan lbw b Herath 8
Misbah c Jayawardene b Herath 3
A Shafiq st Dickwella b Herath 32
S Ahmed c S'kara b Welegedara 55
A Rehman lbw b Perera 5
W Riaz c Silva b Herath 17
S Ajmal not out 3
J Khan absent hurt
Extras (b 4, lb 7, nb 3) 14
Total (all out; 52.1 overs) 165
Fall of wickets: 1-17, 2-21, 3-31, 4-39, 5-50, 6-105, 7-122, 8-151, 9-165
The victory enabled batting stalwart Jayawardene to end his 149-Test career with a victory on an emotional day for the 37 year-old, who scored 11,814 runs at an average of 49.84.
After ripping through the Pakistan order the previous evening, Sri Lanka were forced to wait for nearly an hour before capturing the last two wickets with Ranagana Herath claiming his 14th victim of the match to dismiss the tourists for 165 in their second innings.
Wahab Riaz was the last man out for 17 when he top edged a delivery from Herath to cover that Kaushal Silva held on to despite colliding with Kumar Sangakkara, who was also attempting to catch the ball. Junaid Khan did not bat due to injury.
At the fall of the final wicket, all thoughts turned to the departing Jayawardene, who first met with his parents and Sri Lankan President Mahinda Rajapaksa in his VIP suite before returning to the field to be hoisted on the shoulders of his team mates and carried around the ground.
"Thank you so much for all the wishes! Got up and realised it's my last day. Bit emotional but the journey has been great!" Jayawardene tweeted before play began as he pouched two more catches to finish with a world record test tally of 205.
Saeed Ajmal was left three not out as Herath took another five wickets to add to his nine in the first innings for a career best match return of 14-184.