Abid Ali and Shan Masood became only the third opening pair for Pakistan to hit centuries in the same innings as Pakistan turned the tables on Sri Lanka in the second and final Test in Karachi on Saturday.
Abid, nicknamed “legend” in Pakistan's dressing room, hit 174 for his second hundred in as many Tests -- becoming the first Pakistani and ninth batsmen overall to score two centuries in his first two Tests.
When the third day's play ended Pakistan were in a strong position with 395-2, having an overall lead of 315 after conceding an 80-run lead in the first innings.
Skipper Azhar Ali was unbeaten on 57 -- his first fifty in 14 innings -- and Babar Azam on 22 not out.
It was a day of batsmen's dominance as Pakistan added 338 runs after resuming at 57-0 on a National stadium pitch which dried up to help batting.
Masood blasted 135 for his second century in 19th Test as the duo put on 278 for the opening wicket, just 20 short of equalling the highest opening stand for Pakistan of 298.
Amir Sohail and Ijaz Ahmed had set that record against the West Indies at the same venue in 1997.
Masood batted for nearly five hours for his 135, which included three sixes and seven fours. Abid struck 21 boundaries and a six in his 398-minute batting.
- Abid's feat
Abid, 32, completed his century with a sweep off-spinner Lasith Embuldeniya for two to follow his 109 in the drawn first Test in Rawalpindi -- his debut.
The Rawalpindi century made Abid the first batsman ever to score hundreds in both Test and one-day debuts.
He had scored 112 in his first ODI, against Australia in Dubai earlier this year.
It was pacer Lahiru Kumara (2-88) who broke the opening stand when he had Masood caught hooking just five minutes from tea before he trapped Abid with the second new ball.
Abid's successive hundred has put him in an elite company.
India's Mohammad Azharuddin scored three hundreds in his first three Test after making his debut against England at home in December 1984.
William Ponsford, Doug Walters and Greg Blewett of Australia, Sourav Ganguly and Rohit Sharma of India, Alvin Kallicharran of the West Indies and Jimmy Neesham of New Zealand are the others who hit two consecutive centuries in their first two Tests.
Before lunch, Abid survived a confident leg-before shout off paceman Kumara on 61 but the tourists lost the referral with the replays showing the ball would have missed the stumps.
Masood, playing his 19th Test, completed 1,000 Test runs when he reached 46.
The current series -- part of the ongoing World Test championship -- is the first in Pakistan since a militant attack on the Sri Lankan team bus in 2009 which suspended international cricket in the country.
Pakistan 1st innings 191 (Asad Shafiq 63, Babar Azam 60; L. Kumara 4-49, L. Embuldeniya 4-71)
Sri Lanka 1st innings 271 (D. Chandimal 74, D. Perera 48; Shaheen Shah Afridi 5-77, Mohammad Abbas 4-55)
Pakistan 2nd innings
Shan Masood c Oshada b Kumara135
Abid Ali lbw b Kumara174
Azhar Ali not out57
Babar Azam not out22
Extras: (lb 5, w2)7
Total: (for two wkts, 103 overs)395
Still to bat: Haris Sohail, Asad Shafiq, Mohammad Rizwan, Yasir Shah, Mohammad Abbas, Naseem Shah, Shaheen Shah Afridi
Fall of wickets: 1-278 (Masood), 2-355 (Abid)
Bowling: Fernando 21-2-84-0, Kumara 22-5-88-2, Embuldeniya 36-2-136-0 (1w), Perera 17-1-63-0 (1w), De Silva 7-0-19-0
Toss: Pakistan Umpires: Bruce Oxenford (AUS) and Joel Wilson (WIS) TV umpire: Gregory Brathwaite (WIS)