Pakistan beat Sri Lanka by five wickets in the third and final One-Day International in Karachi to clinch the series 2-0.
The hosts reached their target of 298 with 10 balls remaining.
Fakhar Zaman (76), Abid Ali (74) and Haris Sohail (56) led the way with half-centuries, while Mohammad Amir took three wickets.
Sri Lanka had earlier scored 297-9 in their 50 overs, with opener Danushka Gunathilaka hitting a career-best 133.
Pakistan won the second game by 67 runs, while the first match was rained off without a ball being bowled. All the games were played in Karachi.

Cameroon strike early to secure win over Gabon
Dubai Capitals sail to playoffs after a six-wicket win over Sharjah Warriorz
Stoppage-time comeback gives Burkina Faso victory in opener
Archer out of Ashes, England drop Pope from Boxing Day test
Martha Stewart joins Snoop Dogg as Swansea minority co-owner