Sri Lanka defeated Pakistan by two wickets in the fifth and final one-day international in Colombo on Monday to clinch the series 3-1.
Sri Lanka achieved a 248-run target with two balls to spare in the day-night match, with Angelo Mathews (80 not out) and Dinesh Chandimal (54) scoring half-centuries for the hosts.
Imran Farhat (56) and Umar Akmal (55 not out) earlier scored half-centuries for Pakistan, while leg-spinner Jeevan Mendis and paceman Nuwan Kulasekara each bagged two wickets for Sri Lanka.
The third one-dayer was abandoned due to rain.
Pakistan 247-7 in 50 overs; Sri Lanka 248-8 in 49.