Brendon McCullum will step down as head coach of England's test team after four years in the role, the England and Wales Cricket Board (ECB) said on Sunday.
McCullum, who was appointed alongside former test captain Ben Stokes in 2022 and helped transform England's red-ball fortunes, will continue as head coach of the men's white-ball teams.
England recently suffered a home test series defeat against New Zealand, near the end of which Stokes announced his retirement from international cricket.
McCullum said in an ECB statement: "I've absolutely loved coaching the test team and I'm incredibly proud of what we've achieved together."
"There have been some unbelievable highs and a few tough days along the way, but that's all part of taking on a challenge like this."
ECB Chief Executive Richard Gould paid tribute to the former New Zealand captain's work.
"Brendon breathed new life into England's test side during an exciting period that delivered some memorable victories, and we're grateful for everything he has given to the role," Gould said.

Raphinha, Fermin score as Barcelona beat Athletic in home opener
Chelsea and Fulham reach League Cup third round as Welbeck scores on debut
PSG to meet Barca, Man City as Champions League draw throws up marquee ties
Abbas gives Pakistan slight edge as England battle back at Lord's
UEFA suspends FIFA boycott threat but steps up pressure on world body