Heartbreak for Sangakkara as Test heads for draw
Sangakkara, who was stranded on an unbeaten 199 in the first Test at Galle, was dismissed for 192 after helping Sri Lanka avoid the embarrassment of a follow-on on the fifth and final day in Colombo.
The hosts, who began the day needing 74 more runs to make Pakistan bat again, were all out for 391 in the post-lunch session in reply to Pakistan's 551-6 declared.
Pakistan, leading by 160 runs on the first innings, were 99-2 in their second innings at tea with just one session of play remaining in the rain-hit match.
Sri Lanka will head for the third and final Test in Pallekele from Sunday with a 1-0 lead, having won the opening encounter in Galle by 209 runs.
The home side, who began the day at 278-5, were steered out of trouble by a 89-run stand for the sixth wicket between Sangakkara and Angelo Mathews (47).
But Mathews' dismissal soon after lunch triggered a middle-order collapse in which Sri Lanka lost their last five wickets for 21 runs.
Young left-arm seamer Junaid Khan finished with five wickets and spinner Abdur Rehman claimed four as the Pakistanis earned unexpected help from the slow pitch.
Sangakkara looked set for his ninth double-century when he fell against the run of play after defying Pakistan's attack for almost nine hours.
The left-hander stepped out to loft Rehman and only managed a thick edge to Taufeeq Umar at square-leg.
Sangakkara, who hit 15 fours and a six in his 30th Test century, raised a cry of anguish before walking off to warm applause from less than 500 spectators at the Sinhalese Sports Club.
Sangakkara is already the highest run-getter against Pakistan, having surpassed Indian great Sunil Gavaskar's tally of 2,089 runs when he reached 60 on Tuesday.
He has nine three-figure knocks against Pakistan with a top score of 230 in Lahore in March, 2002.
Junaid had Mathews caught behind and bowled Nuwan Kulasekara, while Rehman dismissed Prasanna Jayawardene and last man Nuwan Pradeep to terminate the innings.
The Test has been marred by bad weather, which allowed just 71 of the stipulated 180 overs to be bowled on the second and third days.
Sachin Tendulkar announced his retirement from international cricket after playing his 200th Test in the home series against the West Indies next month.
Date 09-10-13, Duration 0:40, Views 20105