Sri Lanka 218 for 5 (Perera 101, Asalanka 46) beat New Zealand 211 for 7 (Ravindra 69, Asalanka 3-50, Hasaranga 2-38) by 7 runs
In the end, Sri Lanka did enough. That's not something you'd expect to say about a team that had racked up 218 runs in their first innings, but it speaks towards just how well New Zealand had set about their chase for most of the innings. It was a victory set up largely by Kusal Perera's maiden T20I ton, the fastest ever by a Sri Lankan, coming off just 44 deliveries.
For about 15 overs of the chase New Zealand were keeping up with the nearly 11-an-over required rate, and when Daryl Mitchell struck Charith Asalanka for four consecutive sixes in a 25-run 15th over they might have even been ahead.
Sri Lanka then thought they had done enough with a couple of wickets at the death, before Zachary Foulkes' final-over fireworks provided yet another scare. But despite frayed nerves, Sri Lanka held on to close out a consolatory seven-run win.
Having entered inside the powerplay, Perera fell with less than two overs left in the innings, and such was the impact of his innings even a run-a-ball final two overs couldn't prevent Sri Lanka from registering their second-highest T20I total ever.
Asalanka also played a starring role - despite the treatment meted out by Mitchell - backing up his 46 with the bat with a three-wicket haul that derailed New Zealand's well-planned chase. He also took a scorcher of a catch at extra cover to cap an impressive outing. There was however no looking beyond Perera for the player of the match award.
Jacob Duffy, a thorn in Sri Lanka's side throughout the series, picked up just the solitary wicket this time round, although his economy rate of 7.50 was still the best of any bowler who bowled at least two overs in the game. He was deservedly named player of the series.
SL and NZ trade early blows
The rollercoaster nature of the game was telegraphed right from the start. Sri Lanka lost three of their top four inside the opening 10 overs, and their openers inside the powerplay, but they didn't let that slow them down.
Kusal Mendis struck 22 off 16, Pathum Nissanka 14 off 12 and Avishka Fernando 17 off 12, as Sri Lanka kept a steady rate of around eight an over.
Despite the early wickets, it could have been better too, had New Zealand held on to miscued reverse sweep off Perera when he was on just 15.
Despite taking two excellent grabs to dismiss both Nissanka and Mendis, it was the chance they will likely look back on and regret.
Perera and Sri Lanka turn on the afterburners
Despite losing three wickets, Sri Lanka's score of 85 after the first 10 overs constituted their best score at the halfway mark of an innings all series. But the 10 overs to follow would put that tally comfortably in the shade.
Led by a belligerent Perera, and aided by some short boundaries at Nelson, Sri Lanka proceeded to plunder 133 runs off the final 10 overs - and that could have been considerably more if not for two excellent overs at the death from Mitchell and Duffy.
Those two overs went for six each, but that Sri Lanka still ended up on a mammoth 218 speaks towards the damage done in the overs that preceded them - particularly devastating was a four-over period from overs 14-18 that brought 75 runs. Much of that was down to Perera, whose century came at a strike rate above 200 and included 13 fours and four sixes.
While he initially targeted the boundaries behind square with a catalogue of sweeps, switch hits and outright slogs, by the end his knock was a true 360 exhibition - a monster six over cover to bring up his century emphatically ramming home the point.
He was kept company by an equally combative Asalanka, who struck 46 off 24 during a 100-run fourth wicket stand that came off just 45 deliveries.
Well prepared New Zealand come out firing
Regardless of the match situation you can always count on New Zealand to come out with an effective plan, and their chase in Nelson was a prime example.
Most sides would be overawed when hunting down a target of 219, but from the very first over of the chase New Zealand set the tone as Tim Robinson and Rachin Ravindra each took Chamidu Wickramasinghe for a boundary each.
This was followed by a five-run over by Nuwan Thushara, but New Zealand made up for that by taking on Sri Lanka's most effective seamer this series, Binura Fernando, for 18 off his opening over.
Sixty-three runs were scored inside the powerplay, but the onslaught only continued afterwards. By the halfway point New Zealand had run up 108 runs and still had eight wickets in hand.
Asalanka the unlikely hero
With Thushara and Binura being saved for the death overs and Theekshana having an off day, Asalanka was left with a conundrum through the middle overs. Was he going to rely on the green Wickramasinghe to handle the fifth bowler quota on his own, or would he bowl a few himself?
He ended up opting for the latter, and it might just be what swung the game in Sri Lanka's direction. In his first over the Lankan skipper removed Mark Chapman, before taking out Glenn Phillips in his second. But it was his third that brought the big fish, sliding one past Ravindra's inside edge to dismiss the New Zealand opener for a 39-ball 69.
Perhaps Asalanka overestimated his capabilities in bowling himself out, and was duly punished by Mitchell. But his breakthroughs meant New Zealand would be forced to score heavily off Sri Lanka's frontline bowlers at the death.
New Zealand can't stick the landing
Despite Asalanka's strikes, Mitchell's monster striking had brought the equation down to 51 from 30 with six wickets in hand.
At that point it seemed like the hard work had been all but done, but New Zealand just couldn't stick the landing. Hasaranga's double-wicket 16th over did much to reverse to momentum that had swung New Zealand's way through Mitchell's onslaught. And then when Mitchell fell an over later, looking to take on Thushara, the writing seemed on the wall.
Foulkes however ensured Sri Lanka were made to work for their win with some powerful hitting at the death, but the visitors just about managed to hold on.