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 for the batsmen 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 his 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.