A century from Kusal Perera has helped Sri Lanka to 368-4 off their 50 overs in the fifth one-day international against Pakistan in Hambantota.
Perera and opening partner Tillakaratne Dilshan piled on 164 runs for the opening wicket before the latter was run out by Ahmed Shehzad for 64.
A run out also ended Perera's 116-run stand 10 overs later after failing to spot the danger as Anwar Ali gathered the ball in the outfield.
Rahat Ali quickly dispatched Lahiru Thirimanne and Dinesh Chandimal as Pakistan tried to restrict their opponents, but Angelo Mathews and Milinda Siriwardana piled the runs on in the final 10 overs to both finish with unbeaten half-centuries, setting the tourists a target of 369 for victory.