Sri Lanka drew the Twenty20 series with Pakistan after a 24-run victory in the second game at the Dubai International Cricket Stadium.
Sri Lanka, who lost Wednesday's opening match by three wickets, made a whopping 211-3 in their innings.
Pakistan made 187 in their reply with Saeed Ajmal final man out with four balls of their allocated 20 overs remaining.
An opening partnership of 100 in 12 overs laid the foundation for Sri Lanka's big total after Pakistan captain Mohammad Hafeez won the toss and chose to bowl as he did 48 hours before.
Tillakaratne Dilshan fell to Ajmal for a 33-ball 48 featuring eight fours, but debutant Seekkuge Prasanna maintained the momentum with two sixes and two fours in making 21 off just eight balls before becoming Ajmal's second victim.
Veteran Kumar Sangakkara also hit two maximums as he blasted 44 off 21 balls with opener Kusal Perera batting throughout the innings for 84 off 59 balls before being run out off the final ball.
The total was well in excess of the 145 Sri Lanka made on the same pitch on Wednesday, and Pakistan lost opener Ahmed Shehzad and Hafeez in the opening four overs of their reply.
Sohaib Maqsood then fell, and although opener Sharjeel Khan hit consecutive sixes to bring up his 50 off 24 balls, he fell aiming to hit a third off Prasanna.
That was the first of four wickets to fall for two runs in seven balls as leggie Prasanna clean bowled Umar Akmal before Sachithra Senanayake picked up two scalps in the 11th over.
Wednesday's match winner Shahid Afridi tried to rescue his team once more but was caught behind by Sangakkara off Thisara Perera after making 28. Pakistan looked dead and buried at 121-8 in the 14th over.
However, an enterprising ninth wicket partnership of 63 off 33 balls between Sohail Tanvir and Ajmal set up a potentially exciting finish before Lasith Malinga killed off their hopes by removing Tanvir for 41 in a penultimate over that saw him concede just two runs.
The five-match one-day international series begins on Wednesday.