Inzamam-ul-Haq broke Bangladeshi hearts with a memorable 138 not out to steer Pakistan to a one-wicket win in the third Test in Multan on Saturday and a 3-0 sweep of the series.
Bangladesh were left waiting for their first Test win after Inzamam choose his hometown for a dramatic return to form and his 18th Test hundred.
Bangladesh were chasing a victory in their 24th attempt having been granted Test status in 2000. They have lost all but one of those matches.
Inzamam began the morning with 53 runs with Pakistan on 148-6 and lost partner Saqlain Mushtaq with the total on 164.
But he took complete control to put on another 98 runs with the help of tailenders Shabbir Ahmed (13), Umar Gul (5) and Yasir Ali (1).
Bangladesh got the ninth wicket in the fourth over after lunch when Umar Gul was run out going for a second after putting on 51 runs with Inzamam.
Inzamam had played the ball to deep point and completed a single but refused a second. But by that time Gul had come down the wicket and could not beat Mohammad Ashraful's throw.
Last man Yasir Ali played out four balls from Khaled Mahmud in tense conditions to give Inzamam the strike on the final ball of the over, which he swung to the mid-wicket boundary for the winning four.
Inzamam finished unbeaten on 138 from 232 balls having hit 20 fours and a six.
Scoreboard on the fourth day:
Bangladesh first innings: 281 (Habibul Bashar 72; Umar Gul 4-86)
Pakistan first innings: 175 (Mohammad Rafique 5-36; Khaled Mahmud 4-37)
Bangladesh second innings:
Hannan Sarkar c Rashid Latif b Umar Gul 3
Javed Omar c Inzamam-ul-Haq b Shabbir Ahmed 16
Habibul Bashar c Rashid Latif b Umar Gul 3
Mohammad Ashraful c Butt b Shabbir Ahmed 3
Rajin Saleh c Rashid Latif b Umar Gul 42
Alok Kapali c Rashid Latif b Yasir Ali 22
Khaled Mahmud lbw Shabbir Ahmed 2
Khaled Mashud lbw Shabbir Ahmed 28
Mohammad Rafique lbw Umar Gul 4
Tapash Baisya not out 14
Manjural Islam c Younis Khan b Saqlain Mushtaq 5
Extras: (b-5 lb-2 w-2 nb-3) 12
Total: (all out, 46.3 overs) 154
Fall of wickets: 1-4 2-9 3-23 4-41 5-77 6-91 7-111 8-127 9-137
Bowling: Umar Gul 15-2-58-4 (nb-3 w-1), Shabbir Ahmed 23-6-68-4 (w-1), Yasir Ali 6-1-12-1, Saqlain Mushtaq 2.3-0-9-1
Pakistan second innings:
Salman Butt c sub (Mashrafe Mortaza) b Manjural Islam 37
Mohammad Hafeez c sub (Mashrafe Mortaza) b Manjural Islam 18
Yasir Hameed c sub (Mashrafe Mortaza) b Khaled Mahmud 18
Inzamam-ul-Haq not out 138
Younis Khan run out 0
Farhan Adil c Habibul Bashar b Mohammad Rafique 8
Rashid Latif lbw Khaled Mahmud 5
Saqlain Mushtaq c Khaled Mashud b Khaled Mahmud 11
Shabbir Ahmed lbw Mohammad Rafique 13
Umar Gul run out 5
Yasir Ali not out 1
Extras: (lb-4 w-4) 8
Total: (for nine wickets, 91 overs) 262
Fall of wickets: 1-45 2-62 3-78 4-81 5-99 6-132 7-164 8-205 9-256
Bowling: Manjural Islam 21-2-64-2 (w-1), Tapash Baisya 12-0-46-0 (w-2), Khaled Mahmud 28-9-68-3 (w-1), Mohammad Rafique 30-6-80-2
Result: Pakistan won by one wicket
First Test: Karachi, Pakistan won by seven wickets
Second Test: Peshawar, Pakistan won by nine wickets