Bangladesh fought hard to stave off an embarrassing defeat against quality New Zealand bowling before the second Test finally petered out into a draw on the final day here on Wednesday.
New Zealand clinched the two-match series 1-0 after they won the first Test at Chittagong by three wickets and they pushed hard to pull off a highly unlikely win here after the first three days were washed out.
The home team were facing a possible follow-on and with it potential defeat at 44-6 before crucial knocks by all-rounders Shakib Al Hasan (49) and Mashrafe Mortaza (48) helped them avoid the ignominy of batting for a second time.
With little to play for, the tourists batted a second time and reached 79-1 before the captains decided to call off the match. Jesse Ryder followed his 91 in the first innings with an unbeaten 39 while Aaron Redmond made 30 not out.
Opener Jamie How was dismissed for eight.
Earlier, Hasan and Mortaza put on a fighting 78-run stand for the seventh wicket which enabled Bangladesh to declare their first innings at 169-9, six more than required to avoid the follow-on.
Because the match became a two-day game after the first three days were lost to rain, Bangladesh had to get to within 100 runs of New Zealand's first innings total of 262-6 declared to avoid the follow-on.
New Zealand captain Daniel Vettori said he was happy with the series win.
"We probably would have won 2-0 but time was short. I am still pleased with the team effort which clinched us the series," said Vettori, who in the first Test took nine wickets and scored a fifty in each innings.
"We had harboured hopes after we took three quick wickets in the morning but time ran out."
Resuming at 13-3, the home side lost Mehrab Hossain (seven) when off-spinner Jeetan Patel turned one sharply into him, trapping him in front of the stumps.
Opener Tamim Iqbal, who saw three wickets fall in one Vettori over on Tuesday, took the score to 44 in the company of Mushfiqur Rahim before both fell in successive overs.
Vettori had Iqbal (24) caught off a miscued drive while Rahim gloved a short delivery from paceman Iain O'Brien to wicket-keeper Brendon McCullum after scoring seven.
Mortaza and Hasan took Bangladesh past their lowest Test score of 62 made against Sri Lanka at Colombo last year before Vettori ended Hasan's resistance by trapping him leg-before.
Vettori was the pick of the visitors' bowling with 5-66, finishing with 14 wickets in two Tests. O'Brien took 3-31.
Bangladesh captain Mohammad Ashraful said he hoped his team would improve.
"We have played a good series. We missed a chance to win the first Test and now need to show more improvement in future," said Ashraful, whose team will tour South Africa next month.