Australia defended a modest total of 127 for a two-run victory over Pakistan in the one-off Twenty20 international in Melbourne.
The visitors looked on course to secure their first win of a miserable tour Down Under as Kamran Akmal's 25-ball half-century took them within 30 of their target with the required rate well under control and six wickets still standing.
But Shaun Tait (3-13) had Akmal (64) caught at mid-on from the opening delivery of the 15th over and Pakistan's lower order failed to finish the job amid mounting tension.
Rookie leg-spinner Steven Smith (2-34), making his international debut, followed up with the scalps of Fawad Alam (1) and Rana Naved-ul-Hasan (1) in successive overs to plunge the match back in the balance.
With 12 required from the final 12 balls, left-arm paceman Dirk Nannes (1-27) produced a superb over, conceding just two runs and clean bowling Umar Gul (10) to leave Pakistan eight down and still needing 10 from the final over.
Seamer Shane Watson (2-24) held his nerve at the death, having Umar Akmal (21) caught at long-on from his first ball and conceding just seven from the final five deliveries to clinch an improbable success for his team.
Australia had earlier crashed to 127 all out in 18.4 overs after choosing to bat first on a blameless wicket.
After the early loss of Watson, run out for eight, the hosts regrouped to reach 50-1 after six overs.
But when fellow opener David Warner was caught in the deep for 24 off 14 balls in the seventh over, the innings began to crumble.
Skipper Michael Clarke went next for 32 off 26 balls as he kept his pre-match vow of scoring quickly without resorting to slogging.
His knock was just short of his highest T20 international score of 37 but the fall of his wicket started a collapse of four for seven.
The real damage came in the 12th over when Shoaib Malik bowled debutant Travis Birt (1) round his legs for one with his off-spin before keeper Brad Haddin (1) was brilliantly stumped down the leg side in the same over by keeper Kamran Akmal off a wide in what appeared to be a set play.
Pakistan's fielding was superb throughout as Fawad Alam was responsible for two wickets after first taking a sharp catch at point to get rid of Clarke in Gul's first over before running out danger man Cameron White for just four in the 11th over.
In the end Australia could not even bat out their full allocation as David Hussey was left stranded on 40 not out.
Pakistan, reigning T20 world champions, head home having been whitewashed in all three formats - losing the Tests 3-0 and one-day internationals 5-0 - and with their board having already formed a committee to investigate events.