South African cricket broke new ground on Tuesday (local time) with the appointment of Hashim Amla as test captain, the first black cricketer to hold the post permanently in a sport long seen to be dominated by whites.
Cricket South Africa (CSA) had identified Amla, one-day skipper AB de Villiers and Twenty20 leader Faf du Plessis as the potential successors to Graeme Smith, who retired from the international game in March.
Having initially ruled himself out, Amla had a change of heart in recent weeks and will now lead the side to Sri Lanka for a two-match series next month.
Amla believes it is the right time for him to take over after the loss of senior players Smith and Jacques Kallis in the past six months.
"This is an exciting challenge but one that I take on with positivity with our test team being in an exceptionally good space at the moment with the support of a strong core of senior players," he said in a statement.
"I have concentrated on taking my batting to the highest possible level and now I feel I am in a position to make a contribution to South African cricket in a leadership role."
Amla's appointment is surprising only in that he has, by his own admission, shied away from leadership roles in the past.
De Villiers will keep the vice-captaincy position he filled under Smith, and will remain in charge of the ODI squad with Amla as his deputy.
The prospect of De Villiers giving up the wicketkeeper gloves to become captain would have upset the balance of the test side and is believed to have counted against him.
Amla's promotion comes after the South African government recently spoke of its desire for greater racial transformation within the game.
CSA chief executive Haroon Lorgat last month urged selectors not to fall back on an "automatic choice" for the captaincy, but to consider all options.
"Hashim is universally respected, both in South Africa and around the cricketing world, not only for his quality as a player, which has seen him ranked among the best batsmen in the world in both test and ODI cricket, but also for his personal qualities," Lorgat said in a statement.
"He has earned particular respect as a role model for his humility and his upholding of the best traditions and spirit of the game. Becoming captain is a natural progression for his outstanding career and we are indeed fortunate to have a leader of his quality."
Amla is the fifth player to be appointed captain of the Proteas since South Africa were readmitted to international cricket in 1992.
He follows Kepler Wessels (1992), Hansie Cronje (1994), Shaun Pollock (2000) and Smith (2003), although Mark Boucher, Kallis and Ashwell Prince have also done the job in a stand-in capacity.
Amla will take South Africa - who last month lost the number one test ranking to Australia - to Sri Lanka for a two-test series next month, and will also lead them in a five-day game in Zimbabwe and a home series against West Indies later this year.
South Africa have included uncapped right-handed batsman Stiaan van Zyl and off-spinner Dane Piedt in their test squad for the two-match tour of Sri Lanka next month.
Both Van Zyl and Piedt play for the Cape Town-based Cobras franchise and come into the squad after strong performances in the domestic four-day competition.
The 26-year-old Van Zyl was the leading run scorer in the competition with 933 in 10 matches, while Piedt, 24, headed the list of wicket-takers with 45 in eight games.
"This emphasises once again the consistent route the selectors have always followed to recognise form through the ... path of franchise and South Africa A performance," Cricket South Africa (CSA) convener of selectors Andrew Hudson said in a statement.
Back-up wicketkeeper Quinton de Kock and seam bowler Kyle Abbott, who were not in the original squad for the test series against Australia in March but were called up as injury replacements, have been retained, and there is also a recall for leg-spinner Imran Tahir.
The players to drop out of the test squad are wicketkeeper Thami Tsolekile, Rory Kleinveldt, Ryan McLaren and Robin Peterson, while Smith has retired.
"The tour to Sri Lanka obviously has different tactical considerations to a home series, and that required us to alter the balance between our seam and spin bowling options," Hudson said.
CSA also announced the one-day squad that will play three matches prior to the five-day games.
Fast bowler Beuren Hendricks makes his 50-over debut in place of Lonwabo Tsotsobe, who is recovering from surgery.
The other changes include Twenty20 skipper Faf du Plessis taking the place of Smith and Aaron Phangiso's addition as a second spinner.
The three ODIs take place between July 6-12. The first test runs from July 16-20 in Galle and the second begins on July 24 in Colombo.
Test squad: Hashim Amla (captain), Kyle Abbott, Quinton de Kock, AB de Villiers, JP Duminy, Faf du Plessis, Dean Elgar, Imran Tahir, Morne Morkel, Wayne Parnell, Alviro Petersen, Vernon Philander, Dane Piedt, Dale Steyn, Stiaan van Zyl.
ODI squad: AB de Villiers (captain), Hashim Amla, Quinton de Kock, JP Duminy, Faf du Plessis, Beuran Hendricks, Imran Tahir, Jacques Kallis, Ryan McLaren, David Miller, Morne Morkel, Wayne Parnell, Aaron Phangiso, Vernon Philander, Dale Steyn.
What do you make of the decision to ban Kane Williamson from bowling?