Sarfraz Ahmed scored a fighting 68, but when offspinner Dilruwan Perera induced a top edge of the Pakistan captain's mistimed sweep and broke the 173-run stand with Shafiq, Pakistan lost its last five wickets for 23 runs.
Spain sealed their place in next year's World Cup by routing Albania 3-0 on Friday in a match laced with political tension amidst Catalonia's drive for independence and blighted by more jeers for Gerard Pique. Apart from that last tour, whenever the Sri Lankans have come to Pakistan they have liked the country and done well.
Pakistan have tasted success in shorter formats under Sarfraz and a confident skipper told, "Obviously, when you have a first Test series as captain, and you lose it, pressure will be there of course".
Pakistan had their backs to the walls after being dismissed for a modest 262 in reply to Sri Lanka's 482 and conceding a monumental lead of 220 after the 1st innings.
Sri Lanka beat Pakistan by 68 runs in the second Test played between the two sides in th UAE.
Stat of the day This was the ninth Test Pakistan have lost in their past 11 matches, a run that started when they lost the final match of their three-Test series against West Indies in Sharjah previous year.
Play today resumed with Pakistan at 198-5.
Mohammad Abbas had Sri Lanka opener Kaushal Silva caught behind for three before Riaz bowled Dimuth Karunaratne for seven and then gave wicketkeeper Sarfraz Ahmed another catch to dismiss Sadeera Samarawickrama for 13.
"The main thing is our attitude and it makes lot of difference so everyone put their heart and soul in the practices, so when they come to the match they did well". Despite the eventual triumph, Chandimal bemoaned the lost opportunity to lock Pakistan out of the match much earlier than they did.
"Test captaincy is a little hard and I've learnt a lot", Sarfraz said. "The boys are new as well and they'll learn, we'll do better in the future". Let us look at the five talking points of the second Test match.
At the moment, Sri Lanka is having a lead of 254 runs with Kusal Mendis at the crease on eight. I'm really honoured and privileged to win this series, and especially to do it as a captain.
"Thanks to the selectors again for giving us confidence, it was a tough series against India but we learnt a lot from it".
"The guys played some really outstanding cricket", Chandimal said.