Mushfiqur Rahim dug in to score a superb 191 and share a record stand with Mehidy Hasan Miraz as Bangladesh nullified Pakistan's pace attack in the first test on Saturday.
Mushfiqur's 11th test hundred, and first against Pakistan, came in more than 8-1/2 hours and lifted Bangladesh to 565 all out on Day 4.
It was Bangladesh's third highest score away from home, as Pakistan's ploy to go with four fast bowlers failed to work on a greenish wicket that eased considerably for batting.
Pakistan, which made 448-6 declared in its first innings, lost opener Saim Ayub early in its second and was 23-1 at stumps, trailing by 94 runs. Abdullah Shafique was not out on 12 while captain Shan Masood was unbeaten on 9.
Mushfiqur's marathon 341-ball knock, featuring 22 fours and a six, ended in the final session when he attempted a square cut against Khurram Shahzad's good-length delivery and was caught behind.
Mushfiqur and No. 8 Mehidy, who scored 77, made the four fast bowlers toil under hot and