Shahadat Hossain took Bangladesh's first one-day international hat-trick but could not prevent a two-wicket defeat to Zimbabwe on Wednesday.
Needing five runs to win off the final ball, Zimbabwe's Brendan Taylor smashed a full toss from fast bowler Mashrafe Mortaza over the midwicket boundary for six to usher the home side to a dramatic victory.
Bangladesh, who lost the toss and were put in to bat, were dismissed for 236 in 49 overs. Zimbabwe replied with 238 for eight to take a 2-1 lead in the five-match series.
Taylor watched Shahadat's hat-trick in the 39th over unfold from the non-striker's end as Zimbabwe crashed from 151-4 to 151-7, but he stood firm for an unbeaten 79 off 72 balls with six fours and three sixes.
Tafadzwa Mufambisi edged the third ball of the over to wicketkeeper Khaled Mashud for eight.
Shahadat's next ball was full and straight, and it trapped Elton Chigumbura plumb in front. Prosper Utseya then edged a wide delivery into Mashud's gloves.
The only other international hat-trick by a Bangladeshi was taken by leg spinner Alok Kopali in the second Test against Pakistan in Peshawar in August 2003.
Tawanda Mupariwa scored a bright 33 to help Taylor rebuild the innings in an eighth-wicket stand of 81 that was ended with the penultimate ball of the match when Mupariwa fell and was run out by Mohammad Rafique.
For Bangladesh, Rajin Saleh scored a cautious 54, while an aggressive Aftab Ahmed needed just 39 balls to smash his 53, which included seven fours and two sixes.
Saleh and Ahmed added 70 runs for the third wicket, and Mohammad Ashraful scored a brisk 46 in sharing a stand of 91 for the fourth wicket with Saleh.
J. Omar c sub b Mupariwa 6
S. Nafees c Taylor b Mahwire 0
R. Saleh c Utseya b Masakadza 54
A. Ahmed b Ireland 53
M. Ashraful c Taylor b Masakadza 46
F. Reza run out 15
K. Mashud run out 11
M. Rafique c Mupariwa b Ireland 0
M. Mortaza lbw b Ireland 2
A. Razzak not out 20
S. Hossain st Taylor b Masakadza 1
Extras: (lb-1, nb-1, w-26) 28
Total: (all out, 49 overs) 236
Fall of wickets: 1-4, 2-13, 3-83, 4-174, 5-179, 6-195, 7-198, 8-201, 9-224, 10-236
Bowling: T. Mupariwa 9 - 0 - 60 - 1 (w-5), B. Mahwire 9 - 0 - 53 - 1 (w-8), A. Ireland 10 - 1 - 41 - 3 (nb-1 w-5), P. Utseya 10 - 1 - 22 - 0, S. Matsikenyeri 3 - 0 - 20 - 0 (w-3), H. Masakadza 8 - 0 - 39 - 3 (w-3).
V. Sibanda lbw b Razzak 14
T. Duffin st Mashud b Saleh 48
H. Masakadza c A. Ahmed b Reza 38
B. Taylor not out 79
S. Matsikenyeri c Ashraful b Saleh 7
T. Mufambisi c Mashud b S. Hossain 8
E. Chigumbura lbw b S. Hossain 0
P. Utseya c Mashud b S. Hossain 0
T. Mupariwa run out 33
B. Mahwire not out 0
Extras: (lb-4, w-7) 11
Total: (for 8 wickets, 50 overs) 238
Fall of wickets: 1-30, 2-84, 3-121, 4-131, 5-151, 6-151, 7-151, 8-232
Did not bat: A. Ireland
Bowling: M. Mortaza 10 - 0 - 50 - 0 (w-2), S. Hossain 10 - 1 - 52 - 3 (w-3), A. Razzak 10 - 1 - 35 - 1 (w-1), F. Reza 7 - 1 - 31 - 1, M. Rafique 10 - 0 - 48 - 0 (w-1), R. Saleh 3 - 0 - 18 - 2.
Result: Zimbabwe won by 2 wickets