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.

Dubai named long-term opening host of new beach volleyball championship
Amateur shocks pros for massive payday at 'One Point Slam' before Australian Open
UAE secure AFC U23 Asian Cup quarter-final spot
Ofner's premature celebration costs him Australian Open spot in epic collapse
Semenyo on target again as Man City beat Newcastle in League Cup semi-final