CAPE TOWN - Australia gained a confidence boost ahead of the World Twenty20 with an impressive run chase to defeat South Africa by six wickets in the third and final Twenty20 international at Newlands on Wednesday.

Needing to achieve the highest successful chase at Newlands after Hashim Amla's 97 not out inspired South Africa to 178 for four, Australia achieved victory with four balls to spare, clinching the three-match series 2-1.

Usman Khawaja (33) and Shane Watson (42) gave Australia a strong start, putting on 76 for the first wicket in 8.2 overs.

Both fell to leg-spinner Imran Tahir in the space of three balls, but captain Steve Smith and David Warner made virtually sure of victory with a third-wicket stand of 79. Smith made 44 and Warner hit 33. Warner was run out and Smith was caught behind, but Glenn Maxwell made 19 not out off ten balls before Mitchell Marsh hit the only ball he faced for four to finish the match.

It was the last match for both teams before they leave for the World Twenty20 in India on Thursday.

Amla hit eight fours and four sixes in a 62-ball innings as South Africa posted a challenging total. It was the highest score by a South African in a Twenty20 international against Australia and the highest individual score at Newlands.

Amla and Quinton de Kock got South Africa off to a fast start, putting on 47 for the first wicket before De Kock was caught at third man off Nathan Coulter-Nile for 25 off 13 balls. The six-over power play yielded 68 runs but the scoring rate slowed when the fielding restrictions were lifted, with leg-spinner Adam Zampa conceding only 23 runs in a four-over spell.

Zampa should have had the wicket of Rilee Rossouw, with Maxwell putting down a straightforward catch on the midwicket boundary when the batsman had made three of his eventual 16 runs.

South Africa chose to bat first on a ground where the average total for teams batting first in floodlit games was 154.

Amla, making his first appearance in the series, replaced AB de Villiers in one of three changes in the South African team.

Left-arm spinner Aaron Phangiso was not included in the South African team despite having his bowling action cleared in an independent test, after failing a similar test ten days earlier.

Coach Russell Domingo said Phangiso needed more time to work on and gain confidence with the adjustments he had needed to make.

Scoreboard

SOUTH AFRICA:

Q de Kock c Hastings b Coulter-Nile 25

H Amla not out 97

F du Plessis c Faulkner b Watson 4

R Rossouw c Smith b Coulter-Nile 16

D Miller c Khawaja b Faulkner 30

JP Duminy not out 1

EXTRAS: (lb3, w2) 5

TOTAL: (4 wkts; 20 overs) 178

FOW: 1-47, 2-74, 3-121, 4-171

BOWLING: Coulter-Nile 4-0-36-2, J Hastings 3-0-28-0, S Watson 2-0-22-1, J Faulkner 4-0-42-1, A Zampa 4-0-23-0, G Maxwell 3-0-24-0

AUSTRALIA:

U Khawaja c Amla b Imran Tahir 33

S Watson c du Plessis b Imran Tahir 42

S Smith c de Kock b Rabada 44

D Warner run out 33

G Maxwell not out 19

M Marsh not out 4

EXTRAS: (lb2, w4) 6

TOTAL: (4 wkts; 19.2 overs) 181

FOW: 1-76, 2-78, 3-157, 4-169

BOWLING: Steyn 4-0-30-0, Rabada 4-0-38-1, Abbott 3.2-0-32-0, Imran Tahir 4-0-38-2, Wiese 2-0-23-0, Duminy 2-0-18-0

TOSS: South Africa

UMPIRES: S George, A Holdstock

TV UMPIRE: B Jele

MATCH REFEREE: R Richardson (WI)