The tourists wrapped up the second Test with a 68-run victory on day five in Dubai on Tuesday, consigning Pakistan to a 2-0 reverse - their first series defeat since being forced to play their home Tests in the United Arab Emirates.
Baut, Pakistani bowlers took revenge on the Lions and stopped Lanka's second innings in just 96 runs.
Asad Shafiq fought hard during his 112-run knock - his 11th Test hundred - and together with his skipper Sarfraz Ahmed (68) added 173 for the sixth wicket.
However, day five saw Sarfraz crumble with Shafiq left to bat with the tail.
Meanwhile, Pakistan's homework for Rangana Herath went in vain as Sri Lanka unleashed a secret weapon in form of Dilruwan Perera, who spelled a doom with a magical spell, as the hosts lost three wickets with in a span of three runs that dented their hopes of a series-leveling win.
The defeat allowed Sri Lanka to replace Pakistan at No. 6 in Test rankings, pushing their opponents to seventh.
"The selectors gave really good confidence to me and my team". This was my first series as captain and it was pretty tough.
Perera could have claimed the wickets of Shafiq, on 26, and Ahmed, on 22, but both were dropped by Mendis at short leg off successive balls, leaving Sri Lanka to rue the missed chances.
Pakistan today were all out for 248 runs in chase of Sri Lanka's 317-run target. "After the India series, I think we did really well in the first Test and these ten days". After losing five wickets on day three for a mere 34 runs, Lanka could manage to add just 62 runs to their overnight score and lost the remaining five wickets in the first hour of the play only.
With the injury to Mohammad Amir, the likes of Mohammad Abbas and Wahab Riaz had to shoulder the extra responsibility to help their teams cause.
The impact on Pakistan's Test side will not be so important beyond this match - Pakistan do not play another Test until May next year when they tour England for a two-Test series.
"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".
But once their partnership was broken Sri Lanka, having already won the first Test by 21 runs in Abu Dhabi, quickly closed in on the victory. "We will have some senior players returning and I hope we'll play better cricket there".