PORT ELIZABETH - Australia fought back on the second day of the second Test but could not stop AB de Villiers taking South Africa into a slender first innings lead at St George's Park on Saturday.

South Africa were 263 for seven at the close, a lead of 20 runs after Australia were bowled out for 243 in their first innings. There was a flurry of wickets after tea but De Villiers counter-attacked to hit 74 not out off 81 balls with easily the most aggressive batting of an otherwise slow day.

South Africa 's quest for a series-levelling win was given added impetus by a pending disciplinary hearing which could result in fast bowler Kagiso Rabada being banned for the remaining two Tests after his shoulder made contact with Australian captain Steve Smith on Friday.

Australia were able to take only one wicket before tea, that of nightwatchman Rabada, as Dean Elgar and Hashim Amla ground out half-centuries. But the scoring was painfully slow and Australia were right back in the game when both batsmen were dismissed in the first two overs after tea, followed by two more batsmen being dismissed cheaply.

The Australian bowlers made effective use of reverse swing, firstly to restrict the scoring and then as a weapon in all four wickets. Amla was bowled by a fast, reverse swinging yorker from Mitchell Starc for 56 four balls after tea and Elgar was caught behind off Josh Hazlewood for 57 in the next over. Like Amla, Elgar fell to a full delivery which swung late.

Medium-pacer Mitchell Marsh trapped South African captain Faf du Plessis and Theunis de Bruyn leg before wicket, again with full, swinging deliveries.

De Villiers and Quinton de Kock put on 44 for the seventh wicket before De Kock was bowled by off-spinner Nathan Lyon with a ball which spun sharply past the outside edge of his bat. While other batsmen had struggled to gain any momentum to the South African innings, De Villiers looked at ease and played strokes to all parts of the ground in reaching a half-century off 62 balls with ten fours. By the close he had faced 81 balls and hit 14 boundaries.

Australia delayed taking the second new ball until the 90th over but De Villiers and Vernon Philander survived until the close. Only 43 runs were scored in 26 overs between lunch and tea after a slightly less pedestrian morning during which 71 runs were scored in 28 overs.

Opening batsman Elgar, renowned for his gritty defensive qualities, was even slower than usual, taking 164 balls to reach his fifty. He was out for 57 after facing 197 deliveries and hitting six fours.

His only boundary during the afternoon came from an edge against Mitchell Marsh to raise his half-century. Amla, normally more fluent, took 122 balls to reach fifty and went on to make 56 off 148 deliveries with six fours.

Amla was twice given out leg before wicket, on seven against Pat Cummins and on 40 against Hazlewood, but survived on review on both occasions.

Scoreboard

AUSTRALIA 1ST INNINGS: 243

SOUTH AFRICA 1ST INNINGS:

(OVERNIGHT: 39-1):

D Elgar c Paine b Hazlewood   57

A Markram lbw b Cummins      11

K Rabada b Cummins  29

H Amla b Starc            56

A de Villiers not out      74

F du Plessis lbw b M Marsh     9

T de Bruyn lbw b M Marsh      1

Q de Kock b Lyon       9

V Philander not out       14

EXTRAS: (lb2, w1)      3

TOTAL: (7 wkts, 95 overs)      263

FOW: 1-22, 2-67, 3-155, 4-155, 5-179, 6-183, 7-227

BOWLING: Starc 26-4-78-1, Hazlewood 24-4-73-1, Cummins 20-6-55-2 (1w), Lyon 16-5-29-1, M. Marsh 9-1-26-2

TOSS: Australia

UMPIRES: Kumar Dharmasena (SRI), Sunderam Ravi (IND)

TV UMPIRE: Chris Gaffaney (NZL)

MATCH REFEREE: Jeff Crowe (NZL)