Mohammad Yousuf celebrated his return to international cricket with a century on Sunday to give Pakistan a 50-run lead on the second day of a delicately balanced first Test against Sri Lanka.
At the close, Sri Lanka were nought for no wicket in their second innings after Pakistan had been dismissed for 342.
Yousuf, recalled to the national team after his ban for playing in the unofficial Indian Cricket League was lifted, scored 112 from 185 balls before he was run out. His innings included 10 boundaries and was his 24th test century in a 80-test career.
The 34-year-old right-hander was supported by Misbah ul-Haq, who scored 56 and helped add 139 runs for the fifth wicket, the most productive partnership of the match to date.
Resuming the day on 15 for two, Younus Khan (25) and Abdur Rauf (31) started Pakistan's recovery after the loss of their openers on Saturday evening with a 50-run stand for the third wicket.
However, paceman Nuwan Kulasekara (4-70), the pick of the Sri Lanka bowlers, claimed the first victim of the day with the dismissal of nightwatchman Rauf, who edged to wicket-keeper Tillakaratne Dilshan.
All-rounder Angelo Mathews then snared a wicket in his first over in Test cricket, finding the outside edge of Younus's bat with an outswinger to dismiss the Pakistan skipper.
Yousuf steadied the innings in partnership with Misbah either side of the lunch interval.
The tourists appeared to enjoy some good fortune when umpire umpire Darryl Harper rejected a confident bat-pad appeal off left-arm spinner Rangana Herath when Yousuf was on 57.
Herath did eventually strike as Misbah tried to work a delivery through the leg-side and was caught at slip.
Yousuf built a 75-run partnership with former captain Shoaib Malik (38) to frustrate Sri Lanka further before Dilshan seized on some hesitant running with a direct hit at the non-strikers' end.
The second new ball also worked for Sri Lanka with Kulasekara producing a perfect leg-cutter to knock back Malik's off stump and then producing a similar delivery to bowl Umar Gul (7).
Kamral Akmal counter-attacked after a shaky start, crashing six fours in his 35-ball 31 before he was run out by a brilliant throw from Angelo Mathews on the boundary.
Scorecard
Sri Lanka (1st innings):
M. Warnapura b Aamer 2
T Paranavitana c Misbah-ul-Haq b Rauf 72
K Sangakkara c Malik b Aamer 9
M Jayawardene c Akmal b Rauf 30
T Samaraweera c Akmal b Younus 31
T Dilshan c Malik b Aamer 28
A Mathews c Akmal b Gul 42
K Kulasekara c Akmal b Younus 38
R Herath not out 20
T Thushara c Manzoor b Ajmal 10
A Mendis st Akmal b Ajmal 5
Extras: (b-1, lb-3, nb-1) 5
Total: (all out, 81 overs) 292
Fall of wickets: 1-3, 2-21, 3-96, 4-139, 5-160, 6-194, 7-241, 8-271, 9-282
Bowling: Gul 14-3-45-1 (1-nb), Aamer 19-3-74-3, Rauf 14-1-59-2, Younus 7-2-23-2, Ajmal 24-4-79-2, Malik 3-1-8-0
Pakistan (1st innings): (overnight 15-2)
K Mansoor lbw Thushara 2
S Butt b Kulasekara 0
Y Khan c Dilshan b Mathews 25
A Rauf c Dilshan b Kulasekara 31
M Yousuf not out 82
M ul-Haq c Jayawrdene b Herath 56
S Malik not out 5
Extras: (8-b, 9-lb, 6-nb, 1-w) 24
Total: (five wickets, 61 overs) 225
To bat: Kamran Akmal, Umar Gul, Saeed Ajmal, Mohammad Aamer
Fall of wickets: 1-1, 2-5, 3-55, 4-80, 5-219
Bowling: Kulasekara 16-2-44-2, Thushara 16-2-56-1 (3-nb), A. Mendis 15-2-52-0 (3-nb), A. Mathews 7-2-19-1 (1-w), R. Herath 7-0-37-1