Spinner Simon Harmer earned his maiden five-for and took his 1000th first-class wicket during the Proteas' win over Pakistan on Thursday.
The Proteas started the defence of their World Test Championship with a drawn series against Pakistan.
A brilliant rearguard batting effort from Senuran Muthusamy, Kagiso Rabada and Keshav Maharaj made sure the Proteas were on top after three days of the second Test against Pakistan in Rawalpindi.
Tristan Stubbs made a return to form as the Proteas went to stumps on 185-4 on the second day of the second Test against Pakistan, still trailing by 148 runs after bowling the hosts out for 333.
The Proteas fought back with two late wickets but will rue a few missed opportunities as Pakistan were 259-6 at stumps on the first day of the second Test in Rawalpindi.
The Proteas' 10-match winning streak in Test cricket came to an end after a 93-run defeat against Pakistan in Lahore in the first game of the two-match series.