Johannesburg: Darren Lehmann is to quit as head coach of Australia at the end of the current Test series against South Africa.
The 48-year-old will step down after the final Test in Johannesburg, which starts on Friday, in the wake of the ball-tampering scandal.
Lehmann, who was cleared of any wrongdoing by Cricket Australia, had said on Wednesday he would not resign.
Former skipper Steve Smith plus batsmen David Warner and Cameron Bancroft were banned for their part in the scandal.
Lehmann made his decision after watching Smith and Bancroft deliver emotional apologies at news conferences earlier on Thursday.
Lehmann was appointed head coach in 2013, losing his first Ashes series in England 3-0 before regaining the urn with a 5-0 win five months later. Australia also beat England 4-0 down under this winter.
The team won the 2015 World Cup under his leadership and dealt with the death of batsman Phillip Hughes in November 2014.