Colombo: Sri Lanka needed a little over 26 overs to chase down a 153-run victory target for a series-levelling seven-wicket victory in the second test against Pakistan on Monday.
Dimuth Karunaratne (50) helped Sri Lanka get off to a flying start before adding 72 runs for the third wicket with skipper Angelo Mathews, who remained not out after a responsible knock of 43.
Karunaratne fell soon after bringing up his sixth test fifty, becoming leg-spinner Yasir Shah's second victim, but Lahiru Thirimanne (20 not out) scored the winning boundary to take them home at P Sara Oval.
Pakistan won the first Test in Galle by 10 wickets. The third Test starts in Pallekele on Friday.
Brief scores
Pakistan - 138 (Kaushal 5-42, Prasad 3-43) and 329 (Azhar 117, Shehzad 69, Prasad 4-92, Chameera 3-53)
Sri Lanka - 315 (Silva 80, Mathews 77, Yasir Shah 6-96) and 153/3 (Karunaratne 50)
Result - Sri Lanka won by 7 wickets