Sri Lanka have beaten Pakistan by 25-runs in the second one-day international in Dubai.
Sri Lanka scored 235 for 7 in their 50 overs and then appeared to be coasting as Pakistan fell to 11 for 3 and then 169 for 8.
However a late flurry from Shahid Afridi got the Pakistani's close.
The 5-match series is now level at 1-all.
The third one-dayer will take place in Dubai on Friday night.