Pakistan squared the series with a narrow six-run win over South Africa in Cape Town in the second T20 on Friday.
A thrilling match was set up by Pakistan, who scored 176 for four wickets batting first.
South Africa found chasing hard work but were never out of the contest, producing a enthralling finale in which 36 were required from the final two overs.
JP Duminy and David Miller bludgeoned and sliced their way to 19 runs from the penultimate over.
It was not to be however, with Sohail Tanvir keeping his cool to make sure that South Africa came up six runs short of the victory target.
It meant the two-match series was tied at 1-1.
|Nasir Jamshed||st †de Kock b Phangiso||19||33||19|
|Ahmed Shehzad||c Amla b Parnell||9||17||11|
|Mohammad Hafeez*||c de Villiers b Steyn||63||53||41|
|Umar Akmal†||c Duminy b Steyn||64||55||37|
|Shahid Afridi||not out||13||17||14|
|Sohaib Maqsood||not out||0||1||0|
|Extras||(lb 2, w 4, nb 2)||8|
Pakistan made a sedate start, and had only reached 44 from 7.2 overs when they lost both their opening batsmen.
But Mohammad Hafeez (63 from 41 balls) and Umar Akmal (64 from 37) combined to devastating effect, adding 102 runs together in their partnership and propelling the Pakistan team over to a sizeable total.
Dale Steyn picked up both their wickets in the final overs and emerged with the best figures of 2-29 from his four overs.
South Africa began solidly through opening duo Hashim Amla (48 from 40) and Quinton de Kock (26 from 24), but the cheap dismissals of Faf du Plessis and AB de Villiers stalled their progress.
Shahid Afridi, who took three wickets, was a constant danger.
Duminy resuscitated their challenge, and his unbeaten 47 from 26 balls very nearly dragged the Proteas over the line—but Pakistan held their nerve.
|View dismissal||HM Amla||c Bilawal Bhatti b Saeed Ajmal||48||67||40|
|View dismissal||Q de Kock†||c Nasir Jamshed b Shahid Afridi||26||30||24|
|View dismissal||F du Plessis*||c Mohammad Hafeez b Shahid Afridi||6||9||10|
|View dismissal||AB de Villiers||b Shahid Afridi||13||7||8|
|JP Duminy||not out||47||41||26|
|DA Miller||not out||22||24||13|
|Extras||(lb 4, w 3, nb 1)||8|
The two sides next clash in a three-match ODI series, with the first game starting on Sunday.