Temba Bavuma was on Friday named the first black African captain of South Africa's Test squad in what Cricket South Africa described as "part of a restructure within the leadership group of the national team".
Dean Elgar was axed as captain, although he remains a member of the squad which starts a series against the West Indies on February 28.
Chief selector Victor Mpitsang was another casualty of the shake-up, with CSA stating he had been "released" from the role. Bavuma became the first black African to captain South Africa at cricket when he was named leader of the one-day international and Twenty20 international teams in March 2021.
At the same time Elgar was named Test captain. Elgar's stint as captain started well with Test series wins against West Indies, India and Bangladesh and a shared series away against world champions New Zealand.