Glenn Phillips hit an aggressive 87 to keep New Zealand in the game on day three of a finely poised rain-hit second and final Test against Bangladesh on Friday.
All-rounder Phillips lifted New Zealand from a precarious 55-5 at the start of day to 180 all out in response to Bangladesh's first innings total of 172 in Dhaka.
Bangladesh wiped out the eight-run deficit to reach 38-2 when bad light forced early stumps, with 37 overs remaining on the day at the Sher-e-Bangla National Stadium.
Opener Zakir Hasan was batting on 16 with Mominul Haque on nought.
Spinner Ajaz Patel removed Mahmudul Hasan Joy for two in the first over and skipper Tim Southee took down his Bangladesh counterpart Najmul Hasan Shanto for 15.
Play resumed Friday after four sessions -- one in the morning -- were washed out because of rain with New Zealand trailing Bangladesh by 117 runs.
Phillips came to the rescue with nine fours and four sixes in his defiant 72-ball knock.
He put on a 55-run eighth-wicket stand with Kyle Jamieson (20) and stood strong till his departure.
Mehidy Hasan Miraz and Taijul Islam picked up three wickets each for Bangladesh. Nayeem Hasan and Shoriful Islam claimed two wickets apiece.
Phillips and fellow overnight batsman Daryl Mitchell took an aggressive approach and were rewarded with a stand of 49 for the sixth wicket, before Bangladesh had their first success of the day.
Mehidy took a superb catch, running to his left from mid-on and diving at full length to dismiss Mitchell for 18 off Nayeem.
Nayeem removed Mitchell Santner in his next over but Jamieson helped claw back the momentum towards New Zealand before his dismissal by Shoriful.
Shoriful then forced Phillips to edge a catch behind the stumps before Taijul wrapped up the New Zealand innings with the wicket of Southee (14).
Fifteen wickets fell on the first day but no ball was bowled on the second day after constant rain in the national capital.
The hosts, chasing a first-ever series win over the Black Caps, lead the two-Test series 1-0 after a 150-run victory in Sylhet.
Scoreboard
Bangladesh 1st innings 172 all out (Mushfiqur Rahim 35; Mitchell Santner 3-65, Glenn Phillips 3-31)
New Zealand 1st innings (overnight 55-5)
- Latham c Nurul Hasan b Taijul 4
- Conway b Mehidy 11
- Williamson c Shahadat b Mehidy 13
- Nicholls c Shoriful b Taijul 1
- Mitchell c Mehidy b Nayeem 18
- Blundell lbw b Mehidy 0
- Phillips c Nurul b Shoriful 87
- Santner c Shanto b Nayeem 1
- Jamieson c Shahadat b Shoriful 20
- Southee c Mehidy b Taijul 14
- Patel not out 0
Extras (b5, lb5, w1) 11
Total (all out, 37.1 overs) 180
Fall of wickets: 1-20 (Conway), 2-22 (Latham), 3-30 (Nicholls), 4-46 (Williamson), 5-46 (Blundell), 6-95 (Mitchell), 7-97 (Santner), 8-152 (Jamieson), 9-180 (Phillips), 10-180 (Southee)
Bowling: Shoriful 4-1-15-2 (w1), Mehidy 11-1-53-3, Taijul 16.1-0-64-3, Nayeem 4-0-21-2, Mominul 2-0-17-0
Bangladesh 2nd innings
Zakir Hasan not out 16
Mahmudul Hasan Joy c Mitchell b Patel 2
Najmul Hossain Shanto c Williamson b Southee 15
Mominul Haque not out 0
Extras (b4, lb1) 5
Total (2 wickets, 8 overs) 38
Still to bat: Mushfiqur Rahim, Shahadat Hossain, Mehidy Hasan Miraz, Nurul Hasan, Nayeem Hasan, Taijul Islam, Shoriful Islam
Fall of wickets: 1-3 (Mahmudul), 2-38 (Shanto)
Bowling: Patel 4-0-13-1, Santner 2-0-12-0, Southee 2-0-8-1
Umpires: Paul Reiffel (AUS), Rod Tucker (AUS)
TV Umpire: Ahsan Raza (PAK)
Match Referee: David Boon (AUS)