Shakib Al Hasan took his second five-wicket haul of the match to inspire Bangladesh to a famous 20-run win over Australia in a thrilling first Test in Mirpur.
Bangladesh win by 20 runs
Bangladesh 1st inns: 260 (78.5 overs. Shakib Al Hasan 84, Tamim Iqbal 71; Agar 3-46, Cummins 3-63, Lyon 3-79)
Australia 1st inns: 217 (74.5 overs. Renshaw 45, Agar 41*, Handscomb 33; Shakib Al Hasan 5-68, Mehedi 3-62)
Bangladesh 2nd inns: 221 (79.3 overs. Tamim 78, Rahim 41; Lyon 6-82, Agar 2-55)
Australia 2nd inns: 244 (70.5 overs. Warner 112, Smith 37, Cummins 33*; Shakib Al Hasan 5-85, Taijul 3-60)
Shakib Al Hasan took his second five-wicket haul of the match to inspire Bangladesh to a famous 20-run win over Australia in a thrilling first Test in Mirpur.
A day after West Indies stunned England at Headingley, Bangladesh provided Test cricket with another shot in the arm by beating Australia for the first time.
Shakib was the home side's hero with match figures of 10 for 153, in addition to a first-innings 84.
David Warner completed his 19th century - his first in the sub-continent - but he received little support as Australia suffered their 12th defeat in their last 14 Tests in Asia.
Australia resumed on 109 for two in pursuit of 265 with Warner and Steve Smith at the crease, and the pair quickly brought up their 100 partnership.
Warner went to his ton off only 121 balls but was trapped lbw by Shakib soon after to depart for 112.
Australia suffered another major blow when Smith (37) edged Shakib behind and were 187 for five after Peter Handscomb was brilliantly caught by Soumya Sarkar to give Taijul Islam his 50th Test wicket.
Matthew Wade could only contribute four before he was trapped in front by Shakib and Australia were still 70 runs short of their target when Ashton Agar was caught and bowled by Taijul.
Glenn Maxwell represented Australia's last real hope but Shakib bowled him with the first ball of the afternoon session to leave Bangladesh on the brink.
Pat Cummins added 29 with Nathan Lyon and then hit two sixes from a Mehidy Hasan over to give Australia the scent of victory.
But Josh Hazlewood, who will miss the rest of the series with a side strain, was lbw to Taijul (three for 60) for a duck to leave Cummins stranded on 33 and spark wild celebrations.
David Warner hit 75 not out as Bangladesh's bid for a first ever Test triumph over Australia stalled on Tuesday.
The tourists, set a victory target of 265 on the third evening of the first Test in Mirpur, were 109 for two at stumps.
Australia have been cut from 13/8 at the end of day two to 1/2 favourites with Sky Bet to claim victory. Bangladesh have been pushed out from 8/13 to 13/8.
The draw is on offer at 80/1.
Having resumed day three on 45 for one - with an overall lead of 88 - Bangladesh reached a second-innings total of 221, thanks largely once again to Tamim Iqbal (78).
Tamim passed the half-century mark for the second time in the match, before getting out in the 70s again when he edged Pat Cummins behind to Matthew Wade. The opener had been given not out, but Australia captain Steve Smith challenged and the decision was overturned.
Skipper Mushfiqur Rahim contributed 41 before being run out by Nathan Lyon - deflecting a hard drive onto the stumps in what could prove a key moment - with Sabbir Rahman adding 22 and Mehidy Hasan 26 to boost the Bangladesh score.
Off-spinner Lyon was the pick of the bowlers, making sure Australia's target was not out of reach by snaring six for 82.
The visitors' chase got off to a shaky start with Matt Renshaw (five) and Usman Khawaja (one) departing within 10 overs.
But Bangladesh will be lamenting having let Warner off the hook early doors, Soumya Sarkar unable to hold onto a difficult chance from a thick outside edge to his right in Shakib Al Hasan's first over.
Warner certainly made the most of the let-off, while on 14, as he and Smith (25no) got Australia back on track in their attempt to rack up the highest total of the match in pursuit of victory.
Shakib Al Hasan took five wickets as Bangladesh claimed the upper hand against Australia on the second day of the first Test in Dhaka.
The Tigers are now 8/13 to win the match with Sky Bet, while Australia are 13/8 with the draw pushed further out to 12/1.
Shakib, playing his 50th Test, followed up his 84 on day one by claiming five for 68 to help bowl the tourists out for 217 and hand Bangladesh a first-innings lead of 43.
The hosts increased that advantage to 88 as they closed on 45 for one with Tamim Iqbal, who also hit a half-century in the first innings, unbeaten on 30.
Australia, having resumed on 18 for three in reply to Bangladesh's 260, found the going tough.
Opener Matt Renshaw hit 45 but it required some strong lower-order resistance to prevent Bangladesh claiming an even greater advantage.
Ashton Agar held firm with an unbeaten 41 while Peter Handscomb struck 33 and number 10 Pat Cummins occupied 90 balls for a stoic 25. Mehidy Hasan finished with three for 62.
Bangladesh are 5/6 favourites after bowlers dominated on the opening day of the first Test between Bangladesh and Australia as 13 wickets fell in a match that remains in the balance in Dhaka. Australia are 5/4 with the draw already out at 9/1.
Pat Cummins, Nathan Lyon and Ashton Agar took three wickets apiece as the Baggy Green skittled their hosts for 260 but Bangladesh hit back in the final nine overs of the day to limit the tourists to 18 for three at stumps.
Home captain Mushfiqur Rahim won the toss and elected to bat but that decision backfired as seamer Cummins grabbed three wickets inside eight balls, claiming the scalps of Soumya Sarkar, Imrul Kayes and Sabbir Rahman - for a golden duck - to leave them struggling on 10 for three.
Shakib Al Hasan and Tamim Iqbal responded with half-centuries to record a stand of 155 before Glenn Maxwell earned the decisive wicket of opener Tamim, with a 35-minute rain delay aiding spinners Lyon and Agar to combine to dismantle the lower order for just 90 runs.
Lyon's haul took him to 250 Test scalps, clear of the late, great Richie Benaud, and he now sits eighth on Australia's all-time list.
Mushifiqur followed suit in deploying off-spinner Mehidy Hasan from the start of the Australia innings and was rewarded with the wicket of David Warner for eight runs.
Usman Khawaja was run out by Sarkar for just a single before Shakib avenged his dismissal by Lyon by trapping the nightwatchman for his side's third wicket in the space of 10 balls to finish an entertaining first day.