Liton Das hit his maiden century as Bangladesh recovered from a shaky start to reach 253-4 against Pakistan on the opening day of the first cricket test on Friday.
He and Mushfiqur Rahim combined for an undefeated 204-run partnership after Bangladesh were reduced to 49-4 in the first session.
They kept the Pakistan bowlers at bay from the first half of the morning session through the entire second and third sessions.
At stumps owing to bad light, Liton was on 113 and Mushfiqur on 82.
The first hour belonged to the Pakistan fast bowlers, who utilized the early moisture on the pitch.
Opener Saif Hasan hit fast bowler Hasan Ali for two boundaries in the second over to hint at a good start for Bangladesh.
Opening partner Shadman Islam struggled against Shaheen Shah Afridi, who moved the ball well, but Saif grew with confidence, driving the left-arm pacer through mid-off for four.
Afridi broke through with the next delivery when Saif fended a short delivery to short leg for 14.
Shadman also fell for 14, as Ali had him leg before after leaking runs in his opening spell.
Offspinner Sajid Khan gave the side a big breakthrough when he reviewed successfully to dismiss captain Mominul Haque for 6.
Najmul Shanto followed him, giving a straight catch to point for 14 as Bangladesh crumbled under pressure.
Liton and Mushfiqur were duly cautious at the start and survived some tricky moments before they dominated.
They went unscathed in the whole middle session during which they raised their half-centuries and Liton hit Khan for the lone six of the day.
Liton, who was dropped from the Twenty20 squad following a poor T20 World Cup, chopped left-arm spinner Nauman Ali's short delivery past backward point to the boundary to bring up his half-century off 95 balls.
With the pitch offering nothing for the bowlers, the Pakistan pacers came up with a short balls plan which almost worked as Liton, on 67, mistimed one off Afridi but Khan put down the catch at midwicket.
Liton then became more watchful.
Mushfiqur, meanwhile, raised his 24th half-century with consecutive boundaries against fast bowler Ali off 108 balls. He survived because of a no-ball by Nauman Ali after sweeping straight to point.
Playing with caution, Liton reached his first test century off 199 balls after pushing Nauman to mid-off for a single.
Pakistan took the new ball as soon as it was available without reward for another five overs.
Find latest and upcoming tech gadgets online on Tech2 Gadgets. Get technology news, gadgets reviews & ratings. Popular gadgets including laptop, tablet and mobile specifications, features, prices, comparison.
Afridi took three wickets for 31 runs by removing the top three of the Indian batting order— Rohit Sharma, KL Rahul and Virat Kohli — to play a major role in Pakistan's 10-wicket win over their arch rivals.
England picked up a comfortable two points to go top of Group A ahead of their match against Canada.