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.

England dismiss Pakistan for 110 to seize control of Lord's test
Raphinha, Fermin score as Barcelona beat Athletic in home opener
Celtic and Rangers to play cup match behind closed doors after pitch invasion
Chelsea and Fulham reach League Cup third round as Welbeck scores on debut
PSG to meet Barca, Man City as Champions League draw throws up marquee ties