Sohag Gazi became the first player to score a century and take a hat-trick in the same match as Bangladesh drew the first Test with New Zealand in Chittagong.
- Related Content
The tourists eventually declared their second innings on 287 for seven, which set Bangladesh a victory target of 256 within a maximum of 48 overs.
The home side had reached 173 for three before the match was called as a draw.
Despite missing out on the chance of the win, the performance of Gazi was a massive positive, after he ripped through New Zealand's middle order to complete a six-wicket haul and record only the second hat-trick by a Bangladesh bowler.
An early 74-run stand from Kane Williamson had kept the match drifting steadily towards a draw but, after Gazi dismissed both the Yorkshire batsman and Peter Fulton before lunch, he returned to the crease to wreak havoc at the Zahur Ahmed Chowdhury Stadium.
New Zealand captain Brendon McCullum (22) was first to go before Corey Anderson (eight), Bradley-John Watling and Doug Bracewell all fell to successive balls in the 85th over.
Ross Taylor had made an unbeaten 54 and Ish Sodhi weighed in with 22 ahead of McCullum's declaration.
Bangladesh never really looked like closing in on the victory target, with openers Anamul Haque (18) and Tamim Iqbal (46) both falling to Bruce Martin before Marshall Ayub was trapped lbw by Sodhi.
Shakib Al Hasan brought up his unbeaten 50 - which included three sixes and four boundaries - while Mominul Haque (22 not out) was also at the crease when time was eventually called.
Earlier, New Zealand had started slowly, with Fulton adding 15 more runs to the 44 he scored on Saturday before departing lbw to Gazi.
Williamson cut to the boundary to reach his half-century off Abdur Razzak's bowling, but soon fell to a freakish catch from Haque - the ball had lodged between his legs - for 74 when attempting a pull from Gazi's short ball.
On the resumption, McCullum was cleaned out by Gazi for 22, but New Zealand retained some optimism given Ross Taylor was closing in on his half-century.
Anderson made no contact with the first ball of the 85th over, nor the second, which caught him plumb in front for eight runs and Watling was out for a duck off the next ball.
He was taken aback by the bounce and edged to Mushfiqur Rahim, leaving Bracewell to face the hat-trick ball. The Delhi Daredevils batsman promptly prodded Gazi's beautiful arm ball high in the air to Nasir Hossain.
Taylor would reach his unheralded fifty with a single off Razzak in the next over and, after Ish Sodhi notched 22 runs off 12 balls - including two sixes - McCullum declared.