Former Black Caps cricket coach Andy Moles is returning to New Zealand for the World Cup, as coach of Afghanistan.
Moles was confirmed at the helm after Kabir Khan resigned on Tuesday, ending a six-year involvement with the team.
A former prolific batsman for English county Warwickshire, Moles coached Northern Districts with some success before taking over from John Bracewell in charge of the New Zealand team in late 2008.
He only lasted a year in the Black Caps job.
Moles has been Afghanistan's batting coach since June.
''The good thing about Andy is that he's worked with a full member team - New Zealand," the Afghan Cricket Board chief executive Noor Mohammad Murad told ESPNcricinfo.
''And the World Cup will also be held in New Zealand. A 100 per cent focus is on the World Cup.''
Moles' first assignment is an eight-match tour of Australia and New Zealand, starting next week, when they face state and district sides.
Afghanistan, who booked their spot via the qualifying tournament, play three World Cup pool matches in New Zealand, including one against the Black Caps in Napier on March 8.
Should the Black Caps recall Jesse Ryder?