Rahmanullah Gurbaz and Ibrahim Zadran shared an opening stand of 118 before Gulbadin Naib took over to drive Afghanistan to a 21-run win over Australia in St Vincent on Saturday and keep alive their hopes of reaching the Twenty20 World Cup semi-finals.
A win for Australia would have sent the 2021 champions and India into the last four, but even a second hat-trick in as many matches from Pat Cummins was not enough to keep their unbeaten record at the tournament intact.
Half centuries from Gurbaz and Zadran helped the Afghans rack up 148-6 in their 20 overs, before their bowlers dismissed the Australians for 127 on a tricky Kingstown track.
Naib claimed 4-20 and Naveen-ul-Haq bagged 3-20, but it was the third century partnership of the tournament from Gurbaz and Zadran that laid the foundation for a win that also kept Bangladesh alive.
"We've waited for a long time (for this)," said man-of-the-match Naib.
"It's a big moment for our nation and our people. I have no words, but thanks to the fans who supported us in our career and cricket journey ... thank God we finally beat Australia. It's a great achievement for Afghanistan.
"We have achieved many things in the last 10 years, but this is big."
India top Group 1 on four points, ahead of Australia and Afghanistan on two, with Bangladesh alone in last place, with none.
India and Australia face off in St Lucia on Tuesday, while the Afghans stay in St Vincent to play Bangladesh in the final Super Eight match later that day.
Australia skipper Mitchell Marsh won the toss and sprang a couple of surprises by sending the Afghans in to bat and naming a team with left-arm spinner Ashton Agar in the bowling line-up in place of Mitchell Starc.
In the early overs it looked like the Australian bowlers would suffocate the Afghans, but the lack of a breakthrough wicket allowed Gurbaz and Zadran to settle in and accelerate through the middle overs.
Crisp batting and hard running from the Afghans put the pressure back on the Australians, who made uncharacteristic fielding errors under the Arnos Vale Ground lights.
The pair reached their half-centuries before Marcus Stoinis finally separated them in the 16th over, when Gurbaz mistimed a shot to David Warner at deep square leg to depart for 60.
Spinner Adam Zampa removed Azmatullah Omarzai (2) and Zadran (51) in the following over and paceman Cummins sent back skipper Rashid Khan cheaply with the final ball of the 18th over.
Karim Janat and Naib followed with the first two deliveries of the 20th over as Cummins became the first bowler to take two hat-tricks at a T20 World Cup.
He would have taken four wickets in a row had Warner held onto a reasonably straightforward catch running in from deep point to dismiss Nangeyalia Kharote.
"They got 20 runs too many," admitted Marsh.
"To be honest, they played a really good game of cricket. We were outplayed tonight ... It was an off-night in the field and we own that."
Afghanistan made the best possible start with ball in hand with Naveen bowling Travis Head for a duck in the opening over and having Marsh caught in the deep for 12 in the third.
Warner followed for three off Mohammad Nabi's first delivery to leave the Australians struggling on 32-3 in the final over of the power play, before the Afghans heaped more pressure on their opponents by removing Stoinis and Tim David.
The explosive Glenn Maxwell gave Australia some hope with a battling 59 off 41 balls, but his dismissal by Naib, thanks to an acrobatic catch by Noor Ahmad, all but sealed the fate of the former champions.
"I learnt from the batting innings on how to bowl," added Naib, who also took a low diving catch to dismiss Ashton Agar.
"Thanks to Rashid for trusting me, it's a team effort, Rahmanullah, Zadran and also Naveen for the momentum."
- Reuters