Daniel Vettori has stepped down from the New Zealand Test captaincy following their series defeat at the hands of Pakistan.
Vettori also announced he will reliquish his role as one-day skipper in April after the World Cup.
"I made that decision three-and-a-half years ago," he revealed. "So that's it. My timing was always to finish after the World Cup and that stays the same."
The 31-year-old confirmed he would continue to play Test cricket under someone else's leadership.
"Test cricket is the part of the game I love. I want to play for as long as I can. There are still a lot of things I want to achieve, so there's no way I'm stepping away from Test cricket," he added.
He captained the Black Caps in 32 Tests after taking over from Stephen Fleming in 2007, losing 18, drawing 13 and winning just six - four of them against Bangladesh.
Although the side has struggled during that time, Vettori's own form has been dependable. He was the highest wicket taker for the period of his captaincy, while only Brendon McCullum and Ross Taylor scored more runs.
"There are always regrets, you always want to perform better," he added. "But I can walk away from the captaincy thinking that I gave it everything, particularly with my performance."
He singled out the Test wins over England in 2008 and Pakistan last year as highlights, and was encouraged by the emergence of several young players recently.
"If we can get the most out of the likes of (Ross) Taylor, (Jesse) Ryder, (Brendon) McCullum, (Martin) Guptill and (Kane) Williamson in the years to come, I think there's an exciting team there," he said.
"We still need to find fast bowlers coming in. You always want to find guys who can penetrate, so if they come along, that would be great."
Vettori, who turns 32 at the end of January, will lead New Zealand in the six one-day internationals against Pakistan and also at the World Cup, before relinquishing the one-day captaincy.