New Zealand's beaten Korea in a thrilling finish to their Davis Cup tie in Auckland.
Michael Venus has won the decider against Seong Chan Hong in their singles match, prevailing in a three hour-five set match 6-3, 3-6, 4-6, 6-2, 6-3.
New Zealand win the series 3-2.
The result means New Zealand will remain in the Asia-Oceania group one next year.
South Korea must play a relegation tie against Chinese-Taipei in September, with the losers dropping to group two.