Young left-hander Mominul Haque scored an impressive 181 as Bangladesh made light of New Zealand's bowling attack on the third day of the first Test in Chittagong on Friday.
The 22-year-old anchored the innings to notch up his maiden Test century as the hosts, replying to New Zealand's 469, cruised to 380-7 by stumps at the Zahur Ahmed Chowdhury stadium.
Skipper Mushfiqur Rahim (67) added 92 for the fifth wicket with Mominul to lift Bangladesh to 301-4, before both batsmen fell in the space of six deliveries after tea.
Debutant left-arm seamer Corey Anderson, who had conceded just 10 runs in his first 10 overs, was rewarded for his accuracy when he trapped Mominul leg-before.
Rahim fell in Doug Bracewell's next over, caught by a diving Ross Taylor in the slips, as the hosts slipped to 301-6.
Nasir Hossain (46) and Sohag Gazi (28 not out) frustrated the Black Caps further with a 70-run stand for the seventh wicket on a slow pitch that offered no assistance to the bowlers.
The hosts, who have lost eight and drawn one of their nine Tests against New Zealand, trail by 89 runs with three wickets in hand.
Anderson was the lone New Zealand bowler to emerge with credit in unhelpful conditions, returning with figures of 2-23 from 14 overs.
Fellow newcomer Ish Sodhi went for 1-89 in 22 overs of leg-spin, while left-arm slow bowler Bruce Martin conceded 83 runs in 21 unsuccessful overs.
Mominul, nicknamed Sourav by team-mates for a batting style that reminds them of former India captain Sourav Ganguly, hit 27 boundaries.
He fell just 19 runs short of becoming only the second Bangladesh batsmen after Rahim to score a Test double-century. The skipper Rahim hit 200 against Sri Lanka in Galle in March this year.
"I am disappointed that I could not get to 200, because I don't know when I will get another chance," Mominul said.
"There was no pressure on me yesterday and I was able to play my strokes freely. But today it was different because I had to make a hundred. New Zealand also bowled really well."
New Zealand batsman Hamish Rutherford insisted his team could still win the match despite the slow pitch.
"I think we are still in a very good position," he said. "The pitch is flat and it has not broken up as much as everyone would have thought. A couple of early wickets tomorrow will put us in a very good position.
"Hopefully, the wicket will start to break up and we might stand a chance to win.
Mominul, who came in to bat in his fourth Test match with Bangladesh struggling at 8-2 on Thursday evening, launched a spectacular counter-attack to keep the Black Caps at bay.
Mominul put on 126 for the third wicket with debutant Marshall Ayub, who defended dourly at the other end while making 25.
The pair, resuming at 103-2, took the score to 134 when Ayub was caught behind to hand Anderson his first Test wicket.
Former captain Shakib Al Hasan scored 19 in a fourth-wicket stand of 46 with Mominul when he was caught behind off Kane Williamson in the first over after lunch.
The second Test will be played in Dhaka from October 21 to 25, followed by three one-day internationals and one Twenty20 match.