Pakistan stand-in captain Shoaib Malik was run-out after an embarrassing mix-up with Hussain Talat in the third and final T20 in Centurion. But they recovered to post 168-9, with Shadab Khan hitting three sixes in the final over.
In the chase, Pakistan picked up three early wickets, reducing the hosts to 35-3 in the eighth over. Wickets from Mohammad Amir and all-rounders Shadab and Faheem Ashraf restricted South Africa to 141-9 as Pakistan won by 27-runs with the series ending 201 in the hosts’ favour.
Pakistan were playing for pride to play for as they aimed to end a difficult tour of South Africa.
Top-ranked T20 side Pakistan lost the first two T20s by close margins – six and seven runs – which meant they have lost all three series in South Africa.
Veteran all-rounder Mohammad Hafeez had been out of the team due to a hamstring issue and remained out of the side for the third match. Pacer Amir returned in place of Usman Shinwari.
Catch the live updates below.