Colombo: Rangana Herath completed a five-wicket haul en route to dismissing 14 for the match to help ensure former Sri Lanka captain Mahela Jayawardene retired from Test cricket with a 2-0 series sweep of Pakistan in the first session of the final day on Monday. (Scorecard)
Sri Lanka won the second Test by 105 runs after Pakistan was out for 165 in their second innings chasing 271 to win. (Jayawardene, a Sub-Continental Champion)
Herath, who took nine wickets in the first innings, finished with 14-184 to surpass his previous best match figures of 12-157 against Bangladesh last year.
Jayawardene ended his 149-match, 17-year Test career with 11,814 runs at nearly 50 runs an innings.
Aftre Kaushal Silva caught Wahab Riaz for the last wicket as Jayawardene was carried off the Sinhalese Sports Ground on his teammates' shoulders.
Pakistan opened the final day at 127-7 facing an inevitable defeat with only the possibility of rain giving them some hope of saving the test.
Sarfraz Ahmed, who made 103 in the first innings, made 55 in the second before being the first dismissal of the day, caught by Kumar Sangakkara in the deep off seam bowler Chanaka Welegedara. Ahmed faced 89 deliveries and hit two boundaries.
Silva competed with Sangakkara for a catch and won to dismiss Riaz to seal the victory for Sri Lanka. Last man Junaid Khan was absent after being hit on the head by a Dhammika Prasad bouncer while batting in the first innings.
Earlier Sunday, Pakistan's bowlers took eight Sri Lanka wickets for 105 in a remarkable fightback, but its batsmen crumbled in their second innings on a turning pitch.
Seamer Dhammika Prasad took two quick wickets, dismissing opener Khurram Manzoor (10) caught behind with the total on 17 and four runs later trapped Ahmed Shehzad lbw for eight.
Herath then snared Azhar Ali (10) caught at slip by Jayawardene, Younis Khan lbw for eight and captain Misbah-ul-Haq, also caught by Jayawardene.
A 55-run stand for the sixth wicket between Ahmed and Asad Shafiq developed before Shafiq (32) had a sudden loss of concentration, charged down the pitch against Herath and was stumped by wicketkeeper Niroshan Dickwella.