A three-wicket burst from Tasmanian spinner Xavier Doherty set Australia on their way to a 32-run, series-saving victory over Sri Lanka in Hobart on Wednesday, but the home side had to survive a late scare in the face of an Angelo Mathews onslaught to square the Series.
Set 248 to win the match and secure their second series victory in Australia since 2010, Sri Lanka couldn't find a top order batsman to match Australian centurion Phil Hughes' earlier efforts and despite a dashing knock from Mathews (67) in the middle order, were eventually bowled out for 215 with nine balls remaining.
Doherty's three scalps and a wicket in Moises Henriques' first over saw the visiting Sri Lankans lose 4-20 in the space of 51 balls between the 12th and 21st overs, all but forfeiting their grip on the ODI series in the process.
But Mathews and Jeevan Mendis (26) added 79 for the sixth wicket to give Sri Lanka some chance of pulling off an unlikely victory late in the piece before Henriques (3-32) returned to remove Mendis in the 44th over and Mitchell Johnson (2-44) had Mathews caught at midwicket in the next to all-but seal the deal.
Entering the match, Australia needed to win just to salvage a draw from the five-match series, an equation that was only possible due to Sunday's washout in Sydney a match that appeared within Sri Lanka's reach before persistent rain and a sodden outfield halted play.
But despite a bright start from Mahela Jayawardene (38) in his last match as Sri Lankan captain, the visitors struggled to recover after Doherty ran through the top order and eventually fell 33 short of the victory target.
With Michael Clarke missing the match due to an ankle injury suffered in training on Tuesday, Hughes anchored the batting effort from number three, notching his second ton of the series in impressive fashion.
The 24-year-old dasher curbed his natural enthusiasm early but blossomed late in the innings, bringing up his century in 132 deliveries and finishing unbeaten on 138 from 154 balls with 13 boundaries and one big six over midwicket.
Hughes and David Hussey (34) had added 98 runs for the fourth wicket to help Australia post 5-247 from their 50 overs in a batting display that was far more assured than their three previous efforts.
In a role reversal of sorts, it was Jayawardene that leapt from the blocks early in the Sri Lankan chase, hitting three boundaries from Clint McKay's (2-50) third over to race beyond 30 before Tillakaratne Dilshan (19) had made it to double figures.
The captain's cameo was up in the 13th over when Doherty lured him into a false drive that was safely pouched by Mitchell Starc, running with the flight of the ball at mid-on, much to Jayawardene's dismay.
Lahiru Thirimanne (one) followed in Doherty's next over, caught in the deep by David Hussey to reduce Sri Lanka to 2-62 after 15 overs and take the gloss off what had been a promising start.
Henriques was introduced by acting skipper George Bailey to immediate effect, nipping one away from Dilshan and finding the edge en route to Matthew Wade behind the stumps to put a genuine wobble in the Sri Lankan reply.
When Dinesh Chandimal (six) was clean bowled by Doherty in the 21st over, Sri Lanka had fallen to 4-77 and all 8102 spectators in attendance at Blundstone Arena as well as the Sri Lankan camp could see the writing on the wall.
Mathews tried hard to form meaningful partnerships with Kushal Perera (14) and Mendis through the middle order but the breakthroughs from Henriques and Johnson put paid to any hope of a Sri Lankan comeback and settled Australian nerves.
Needing to score at nine for the final 15 overs, Sri Lanka tried to lift the tempo with a series of boundaries during their powerplay, but the task proved too great as the required run rate continued to climb.
The lower order went down swinging and despite a much improved performance in the one day arena following a disappointing Test tour, the Sri Lankans will feel little consolation after letting the series win slip so early in the run chase.