An unbeaten half-century from Mohammad Hafeez ensured the first Test between Pakistan and Sri Lanka ended in a draw in Abu Dhabi.
Set an unlikely victory target of 302 in just over two sessions - following Sri Lanka captain Angelo Mathews' declaration - Pakistan opted instead to bed in for a draw and were 158-2 when the two teams shook hands.
Mathews set up the prospect of a chase when he declared at 480 for five late in the morning session after hitting a career-best unbeaten 157.
Pakistan surged to lunch at 20-0 from five overs to provide belief they might take up the challenge, but their desire seemed to fade once Khurram Manzoor edged behind off Suranga Lakmal shortly after the break.
Hafeez and Ahmed Shehzad instead dug in and both notched half-centuries with a 101-run stand, steering Pakistan through comfortably to tea and into the evening session.
Hafeez stands firm
Shezad eventually fell for 55, trapped leg before by Rangana Herath, but Hafeez continued to hold the fort and had reached an unbeaten 80 when the match was ended, with Younus Khan on 13.
After batting through day four to reach his second Test century, Mathews combined with Prasanna Jayawardene (63) to add a further 60 runs in 20.3 overs on Saturday morning.
That extended their unbeaten stand to 156 and the lead beyond 300 runs to prompt Mathews - who had reached three figures for the first time since taking over the captaincy last February - to call an end to the innings.
That left Sri Lanka with 57 overs to take the 10 wickets they needed to go 1-0 up in the three-match series, but Pakistan seemed happy to share the spoils.
The second of the three-match series will begin in Dubai on January 8.