South Africa suffered a few scares before completing a six-wicket victory over Pakistan on day three of the first Test.
Dean Elgar enjoyed a lucky escape against Pakistan with TV umpire Joel Wilson deciding Azhar Ali's slip catch was not clean.
Duanne Olivier took his second five-wicket haul of the match to put South Africa in control against Pakistan on day two at Centurion.
Dale Steyn became South Africa's leading Test wicket-taker after claiming his 422nd scalp against Pakistan to top Shaun Pollock.