Nathan Lyon took five wickets as Australia beat Pakistan by 115 runs in the third and final Test to claim a 1-0 series triumph.
There was nothing to separate the sides in the opening two Tests and the decider also went the distance, with Australia claiming victory inside the final session in Lahore.
Off-spinner Lyon posted figures of 5-83 in Pakistan's second innings, including the wickets of Imam-ul-Haq, Azhar Ali and Babar Azam, while Pat Cummins picked up three for 23.
Pakistan required 278 runs heading into Friday's session at the Gaddafi Stadium, but they only managed 163 as they folded 235 all out in their reply to Australia's target of 351.
The hosts' hopes were boosted as they reached lunch on 136-2, with Abdullah Shafique (27) and Azhar Ali (17) the first to fall.
But momentum shifted when Pakistan lost the wickets of Imam-ul-Haq, who led the scoring with 70 runs, Fawad Alam (11) and Mohammad Rizwan (0) in quick succession
However, replays showed that Rizwan would have survived had he reviewed the umpire's LBW decision.
Babar, the hero in Pakistan's record fightback in the second Test, made a contribution of 55 runs before being caught by Steve Smith off the bowling of Lyon.
Pakistan's remaining four wickets went for just 22 runs, with Lyon taking Ali Hasan (13) for his fifth wicket and Cummins cleaning up Naseem Shah (1) to complete the job.
Lyon leads from the front
Pakistan's stunning resistance in the second Test and strong start to their second innings in Lahore always meant this thrilling contest was going to go to the wire.
Australia prevailed with an hour to spare in the end thanks in large to Lyon, whose 5-83 from 37 overs will go down as one of his most important Test hauls.
Rare Lahore loss for Pakistan
Australia have lost just one of their last 11 Tests against Pakistan, with this just the hosts' second loss in 13 Tests at Gaddafi Stadium, and a first since 2002 (v Sri Lanka).
This is the Baggy Greens' first away Test series win since beating New Zealand in 2016, meanwhile, and a first in Asia in 11 years.
LATEST STORIES
Woakes replaced by Potts for final New Zealand Test match
- 2024-12-13 05:13:46
- Hits 406
Brook becomes number one Test batter in the world
- 2024-12-11 13:48:28
- Hits 182
Jayasuriya rues missed batting chances in South Africa defeat
- 2024-12-09 11:11:03
- Hits 181
Seamers lead the way as England hit back after strong New Zealand start
- 2024-12-14 05:25:32
- Hits 164