England bowling coach Ottis Gibson will leave his role at the end of the ongoing Test series with West Indies to become South Africa's head coach.
The former West Indies international will replace Russell Domingo after he opted not to reapply for the role following the end of his contract after South Africa's tour of England.
A five-person panel was appointed by Cricket South Africa in June to identify their next head coach, and Gibson is the man they have selected to lead the Proteas towards the 2019 World Cup.
It brings to an end a two-year association with England for Gibson, in which he has helped further the development of two of the top bowlers in world cricket in Stuart Broad and James Anderson.
Broad credited Gibson's impact when he overtook Ian Botham as England's second-highest Test wicket-taker during the first Test thrashing with West Indies at Edgbaston.
England head coach Trevor Bayliss echoed Broad's praise in a statement on Wednesday, saying: "Ottis has played a vital role in our progress over the past few years.
"His knowledge of the international game and the way he has supported all our bowlers in their development has been immeasurable.
"He will no doubt relish the challenge of becoming a head coach once again and coupled with his strong affinity with South African cricket, he will look to take them forward."