New Zealand beat Sri Lanka by 167 runs to claim their first Test victory in the country for 14 years.
After reducing the home side to 47-4 by the close of day four, New Zealand finished the job off during the final session on the final day with 27.1 overs remaining.
In so doing the Kiwis avoided a sixth successive Test defeat and the victory represented a rare win against a major Test nation in recent years.
Angelo Mathews (84 in just under five hours) put up stubborn resistance for Sri Lanka but he was last man out after hitting five boundaries in his previous eight deliveries in an attempt to hurry towards his second Test century.
Trent Boult (3-33) had Mathews caught at second slip to wrap up the win and level the two-Test series at 1-1.
Tim Southee picked up 3-58 while Doug Bracewell claimed 2-13 from 13 overs as seam did most of the damage for the New Zealanders, against expectations.
Courtesy: International Cricket Council