Sri Lanka produced a professional performance on the final day to register a nine-wicket win against Pakistan in the second Test and take a 1-0 lead in the three-match series.
Pakistan began the day with a lead of 107 runs and three second-innings wickets in hand, but they slumped from 330-7 to 359 all out in the first 14 overs of the morning, leaving Sri Lanka a target of 137 to win in Dubai.
Opener Dimuth Karunaratne (62 not out) hit the winning runs after putting on 124 for the first wicket with Kaushal Silva, who fell for 58.
Sri Lanka had few scares as they set about chasing down their target, Karunaratne hitting eight fours in his 125-ball knock.
Silva, who was dropped on by Asad Shafiq at cover when on 24, also brought up a half-century before he fell lbw to Saeed Ajmal.
Kumar Sangakkara joined Karunaratne at the crease and steered Sri Lanka home with an unbeaten nine.
Sarfraz Ahmed had carried Pakistan's hopes at the start of the day as he looked to build on his Test half-century.
He began on 70 but added just four more runs to his tally before Suranga Lakmal knocked over the stumps with an inswinger.
Lakmal accounted for Rahat Ali (8) soon after as wicketkeeper Prasanna Jayawardene pouched his fifth catch of the innings, and Ajmal was the last man to fall two overs later, his innings ended on 21 by the same bowler, who finished with figures of 4-78.