Pakistan held on for a draw in the third Test against Sri Lanka at Pallekele as the hosts called off their pursuit of victory.
- Related Content
At 1-0 down in the series, the tourists made a bold declaration on 380 for eight to leave their opponents 71 overs to chase 270.
They made a positive start to their chase and were 132 for two at tea, but Dinesh Chandimal's wicket just before the break gave Pakistan hope and the spin of Saeed Ajmal choked the momentum out of the innings, leaving Sri Lanka unable to force victory despite Kumar Sangakkara's unbeaten half-century.
Asad Shafiq had earlier completed his second Test century. Shafiq, 55 not out overnight, reached exactly 100 as he and Adnan Akmal - batting bravely with a broken finger - added 81 runs prior to the declaration.
Pakistan batted for 24.4 overs in the morning, Shafiq facing 61 balls and taking 45 runs off them on what was still a reasonably benign pitch.
That included four boundaries and plenty of positive running against a defensive Sri Lanka.
Akmal, who was scoreless at the start of the day, chipped in with 35no in 96 deliveries, standing firm and striking four fours of his own despite obvious discomfort.
Pakistan skipper Misbah-ul-Haq called his batsmen in as soon as Shafiq nudged Rangana Herath for a single to bring up his second Test hundred.
That left Sri Lanka with 20 minutes to bat before lunch, and the possibility of chasing a 2-0 series win.
They made an encouraging start, reaching 27 from five overs before the interval.
Chandimal did the bulk of the scoring, with three boundaries in the last over of the session - bowled by Umar Gul - taking him to 14 not out in 13 balls.
Tharanga Paranavitana was first man out after the restart, caught by Younus Khan at second slip off Junaid Khan after making 22 in 38 balls.
Chandimal continued but found his run-rate slowed by some tight bowling from Ajmal, who was going at less than two an over.
His 50 came up in 86 balls and included seven fours, but by the time he fed a catch to Shafiq at mid-off off Ajmal's bowling he had just 15 more in 41 additional deliveries.
That dismissal came in the last over before tea and gave the fielding side a major boost, but Sri Lanka still appeared favourites to complete victory as Mahela Jayawardene joined Sangakkara in the middle.
But the captain could manage only 11 from 44 balls in a 10-over partnership of 18 as the scoring rate stagnated.
Sangakkara brought up an 86-ball half-century as he led his side's push, but Ajmal continued to frustrate them and picked up the wicket of Thilan Samaraweera for 10 to finish with three for 50 from 26 exemplary overs.
Angelo Mathews occupied 26 minutes and 18 balls for a solitary run before the teams shook hands on a draw nine overs early, with Sri Lanka 195 for four and Sangakkara 74 not out.