Morne Morkel celebrates the final Australian wicket during the fourth day of the third Test at Newlands Stadium in Cape Town on Sunday. Image Credit: AP

Cape Town: South Africa seamer Morne Morkel ripped through the Australian batting line-up to inflict a comprehensive 322-run defeat in the controversial third Test on Sunday.

The scandal-hit Australia team, which has been caught up in a storm ever since Steve Smith confessed on Saturday that senior players in the side hatched a plan to tamper with the ball, were booed and whistled throughout the day as they were skittled out for 107 in their second innings.

Morkel picked up five wickets for 23 runs as the hosts took a 2-1 lead in the tempestuous four-match series.

Scandal-hit openers Cameron Bancroft and David Warner survived a testing hour before tea to steer Australia to 47 without loss in pursuit of a mammoth 430 for victory.

On a day when Australian captain Steve Smith stepped down as Australia captain before being suspended for one Test by the International Cricket Council (ICC) amid ball-tampering revelations, the visitors tried to focus on the match as they faced a tall order to avoid defeat. Warner also resigned as vice-captain after Smith confessed on Saturday that the ball-tampering carried out by Bancroft had been orchestrated by the team’s “leadership group”.

With Tim Paine taking over the captaincy for the remainder of the third test at Newlands, the Australian players were greeted by boos and whistles when they walked out for the fourth day’s action.

Warner was fortunate to survive an uncontrolled chip to mid-off that was just out of the reach of fielder Aiden Markram, but aside from that the pair have looked relatively untroubled in Australia’s second innings so far.

Umpires Nigel Llong and Richard Illingworth spoke to both South African captain Faf du Plessis and wicketkeeper Quinton de Kock over something that was said to the batsmen.

De Kock and Warner had been involved in an ugly spat in the first test that ended with both being sanctioned by the ICC, and it was clear that the officials were unhappy with De Kock’s conduct.

The tourists had earlier bowled South Africa out for 373 in their second innings, during which spinner Nathan Lyon (3-102) reached 300 test wickets when he had Kagiso Rabada (20) stumped by wicketkeeper Paine.

AB de Villiers (63) and De Kock (65) made valuable contributions to the total, while Vernon Philander finished 52 not out after reaching his eighth test century.

Pat Cummins (3-67) and Josh Hazlewood (3-69) were among the wickets for Australia.