Younis Khan smashed 177 during a valiant fightback with the lower order batsmen as Pakistan gained the upper hand in the first Test against Sri Lanka in Galle on Thursday.
Younis Khan, who came in to bat at 19-2 on the first morning, anchored the innings admirably to enable the tourists to pile up 451 all out by tea on the second day.
Sri Lanka replied with 99-1 by close but the batsmen will remain wary of the turn and bounce that will increasingly come into play over the next three days.
Left-arm seamer Junaid Khan trapped Upul Tharanga leg-before for 19 in the fifth over, but Kaushal Silva and Kumar Sangakkara settled in to put on 75 for the second wicket. Silva was unbeaten on 38 and Sangakkara was on 36 with Sri Lanka still 352 runs behind the tourists.
The 36-year-old Younis, who is playing his 90th Test, batted for eight hours and 16 minutes, hitting 15 boundaries and a six in his 24th Test century.
Pakistan, who resumed at their overnight score of 261-4, went to lunch on 347-5 with Asad Shafiq making 75 during a fifth-wicket stand of 137 with Khan.
Sri Lanka came close to removing Khan when he was on 156, but seamer Shaminda Eranga spilled a sharp return catch as the batsman failed to keep a drive along the ground.
Off-spinner Dilruwan Perera, who had gone without a wicket for four sessions, struck five times in the post-lunch period to hasten the end of Pakistan´s innings.
Perera ended Khan´s vigil soon after lunch by beating the well-set batsman in the air, resulting in an easy catch at short mid-wicket.