Sri Lanka 644-7 dec (D P M D Jayawardene 240, T T Samaraweera 231, K C Sangakkara 70, B S M Warnapura 59) & 144-5 (K C Sangakkara 65) v Pakistan 765-6 dec (Younus Khan 313, Kamran Akmal 158 no, Faisal Iqbal 57, Shoaib Malik 56, Yasir Arafat 50 no)
Pakistan drew with Sri Lanka
Younus Khan was finally dismissed for 313 as the first Test between Pakistan and Sri Lanka finished in a draw.
The Pakistan captain, leading his country for the first time since succeeding Shoaib Malik, resumed on 306 with hopes of overhauling Brian Lara's Test record score of 400.
The home side started the final morning on 574-5 in reply to Sri Lanka's first innings effort of 644-7 declared on a slow, lifeless surface at Karachi's National Stadium.
But Younus' epic innings ended well short of Lara's landmark - he was bowled through the gate by Dilhara Fernando (2-124) in the ninth over of the morning session having added just seven to his overnight score.
Sri Lanka's players, led by captain Mahela Jayawardene, converged on the right-hander and exchanged handshakes as he trudged back to the pavilion.
His innings - the third highest by a Pakistani in Test history - spanned 768 minutes and featured 27 boundaries and four sixes.
Younus had added 65 runs with Kamran Akmal for the sixth wicket, helping the wicketkeeper end a poor run of form with the bat.
At the fall of Younus, Pakistan were still 48 runs adrift of Sri Lanka's first-innings total, but thereafter Akmal took charge.
In the company of Yasir Arafat (50no), he took his side past the visitors' total and then accelerated towards his sixth Test century, reaching three figures by stepping out to cart part-time off spinner Malinda Warnapura (0-40) over mid-on for a boundary.
Akmal had reached 155 when the declaration came in mid-afternoon with Pakistan at 765-6, a lead of 121.
Sri Lanka were reduced to 45-3 in the seventh over of their second innings as Pakistan briefly threatened to force a result.
Paceman Umar Gul (2-41) struck twice with the new ball - Warnapura (2) edged behind and Tillakaratne Dilshan (8) miscued a pull to be caught on the boundary.
In between, opener Tharanga Paranavitana, out for a duck in the first innings, completed a forgettable debut when he was run out by Yasir Arafat for nine
Sri Lanka limped into the tea interval on 54-3 and with a maximum of 32 overs to face in the final session.
Leg-spinner Danish Kaneria then made two further inroads.
He claimed the wicket of first-innings double centurion Jayawardene for 22, caught at short-leg by Faisal Iqbal as he attempted to defend.
Kumar Sangakkara, who was caught off a no-ball from Sohail Khan (0-33) early in his innings, played a belligerent hand but was trapped in front for 65 from 66 deliveries by Kaneria (2-35) with Sri Lanka still one run behind.
Thilan Samaraweera (24no), however, restored some stability and together with Prasanna Jayawardene (7no) saw Sri Lanka to 144-5, at which point a draw was agreed.
The final game of the two-Test series starts in Lahore on March 1.