Answer
AB de Villiers stepped down from Test captaincy in 2017, citing the need to focus on his batting and prolong his career. He had led the South African Test team for five years, during which time they achieved notable successes, including a series win in England in 2012 and a rise to the top of the ICC Test rankings in 2013.