Kumar Sangakkara completed a double-century and Prasanna Jayawardene passed three figures as Sri Lanka did more than enough to hold off Pakistan and draw the opening Test in Abu Dhabi.

Starting the day 16 runs behind, a 201-run partnership between Sangakkara and Jayawardene enabled them to score 483 in their second innings.

That set Pakistan 170 to win in 21 overs but the run chase was called off after just ten overs had been bowled with the score 21 for one.

It marked a spirited comeback from Sri Lanka, who were bowled out for 197 on the opening day and then saw Pakistan rack up 511 for six declared in their first innings as Taufeeq Umar made a career-best 236.

Sangakkara was eventually dismissed for 211 and Jayawardene for 120 but their partnership put the brakes on Pakistan's chances.

Umar Gul returned four for 64 but they were further held up by Rangana Herath's unbeaten 23 in 44 balls and although Gul cleaned up the tail quickly, the game had got beyond them.

Mohammad Hafeez was unbeaten on 12 and Azhar Ali - who dismissed Sangakkara - on four when the two sides decided to shake hands.