Sri Lanka won an ill-tempered and rain-shortened final T20 International against Australia off the last ball at the Melbourne Cricket Ground on Monday.
Angry words were exchanged as the two sides walked off, with Sri Lanka winning by two runs under the Duckworth-Lewis method.
The tourists scored 161 for four wickets off their 20 overs but a shower which interrupted the home side's innings reduced the match by five overs.
That left Australia with a revised victory target of 122 off 15 overs -- meaning they needed 62 more off 30 balls with eight wickets in hand as play resumed after the rain.
The hosts finished on 119 for three after a tense final over which began with them needing 18 for victory.
Skipper George Bailey was caught for 45 off 36 balls with 16 more needed from the final four.
All-rounder Glenn Maxwell came in, requiring 12 runs off the last three, and smashed consecutive fours off Thisara Perera.
However the bowler recovered his composure to control the last delivery after lengthy consultations with teammates.
The time taken to bowl that last ball sparked some ugly on-field exchanges and ex-skipper Mahela Jayawardene was in the thick of it before Bailey restored some calm.
Jayawardene had earlier cracked an unbeaten 61 from 45 balls in a well-built innings.
He came in with the tourists in trouble on just 39 after Australia had snared three early wickets by the seventh over.
But Jayawardene opened up in the final overs, striking two sixes and five fours. He was ably assisted by the big-hitting Perera, who plundered 35 off just 15 balls.
The pair took 20 runs off the last over.
Australia, a young side building for the future and facing the world's top T20 outfit, also lost early wickets. David Warner fell for seven and Aaron Finch went for the same score in the fifth over.
The tourists won the first match by five wickets at the Sydney Olympic Stadium on Saturday night.
Sri Lanka and Australia drew the one-day series 2-2 after Australia swept the Tests 3-0.
SCORES IN BRIEF
SRI LANKA: 161 for 4 in 20 overs (M Jayawardene 61 not out, J Mendis 25, T Perera 35 not out; Maxwell 1-23, Faulkner 1-24)
AUSTRALIA: 119 for 3 in 15 overs (Marsh 47 not out, Bailey 45; Kulasekara 1-18, A Mendis 1-25)
Result: Sri Lanka won by two runs (D/L method)
Player-of-the-match: Thisara Perera.