Kane Williamson has stepped down as New Zealand Test captain and has been replaced by Tim Southee, the country's cricket board (NZC) said on Thursday.
After taking charge in 2016, Williamson captained New Zealand in 40 tests - with 22 wins, 10 defeats and eight draws - and led the team to victory over India in the inaugural World Test Championship final in 2021.
"For me, test cricket is the pinnacle of the game and I've enjoyed the challenges of leading the side in the format," said Williamson.
"Captaincy comes with an increased workload on and off the field and at this stage of my career I feel the time is right for this decision."
Williamson will remain New Zealand's white-ball captain and he said he will continue to play in all three formats.
Southee, who stood in as captain for 22 Twenty20 internationals between 2017-21, will lead the test team on their next assignment - a two-match series in Pakistan starting later this month.
"It's been a surreal few days and it's just a massive honour to be appointed as test captain," Southee said.
"I love test cricket, it's the ultimate challenge and I'm really excited by the opportunity to lead the team in this format."
In those 22 Test wins as captain, Williamson averaged 79 with eight centuries.
— BLACKCAPS (@BLACKCAPS) December 15, 2022
A record 11 100s as NZ Test captain.
Of all players who have captained in 40 Tests or more, only Brian Lara has a higher average as captain than Williamson (57.83 v 57.43).#StatChat pic.twitter.com/ANOzdXfgl9