Sri Lanka beat Pakistan by two wickets in the fifth and final One Day International of the series at the Sheikh Zayed Stadium in Abu Dhabi on Friday.
An unbeaten 64 from Dinesh Chandimal saw Sri Lanka home, with two balls to spare, as Pakistan won the series 3-2.
Pakistan, who chose to bat, were dismissed for 232, three balls short of their 50-over allocation, with captain Misbah-ul-Haq top scoring with 51.
Suranga Lakmal picked up three wickets, including the first one to fall, which was from in-form opener Ahmed Shehzad, for 17.
Lasith Malinga had fellow opener, Sharjeel Khan, caught and bowled for 18, and went on to claim 4-57.
Mohammad Hafeez, who had already scored three centuries in the series, was unable to continue his magnificent form, and was bowled by Sri Lanka captain Angelo Mathews for 41, to leave Pakistan 128-4 in the 29th over.
Misbah's composed 74-ball innings ended in the 39th over, when he was caught behind off Malinga. Pakistan lost three wickets in as many overs, to vanquish any hopes of a total in excess of 250.
Anwar Ali's unbeaten 41 saw them reach a competitive target but the bottom four were dismissed in single figures.
Sri Lanka made a strong start in their reply, reaching 68 without loss from the opening 10 overs.
Kusal Perera hit four sixes in his 47 from 41 balls. When opening partner Tillakaratne Dilshan departed for 45 in the 25th over, Sri Lanka still looked well placed at 113-2.
However, veteran Kumar Sangakkara became the first of Junaid Khan's three victims.
Chandimal watched partners come and go before his eyes, with only Kithuruwan Vithanage (14) of the next five batsmen making it into double figures.
Sri Lanka needed 18 off the final two overs, but Chandimal hit Umar Gul's first ball over mid-wicket for six, before three balls later, number 10 batsman Ajantha Mendis steered a maximum over extra cover.
Mendis then slapped the fourth ball of the final over from Anwar Ali to the fence, to seal the victory and finish 19 not out.
Like the new article format? Send us feedback!