Johannesburg: Duanne Olivier took his third five-wicket haul of the series before Pakistan's bowlers fought back on the second day of the third and final Test against South Africa on Saturday.
Olivier got took five wickets for 51 as South Africa picked up a first innings lead of 77 at the Wanderers Stadium.
In any case, the hosts were not able fashion a place of predominance, attempting to 135 for five at the nearby, a general lead of 212.
Hashim Amla made a patient 42 not out off 90 balls against tight, restrained playing, while Quinton de Kock lifted the scoring rate late in the day by scoring 34 not-out off 35 balls.
The wickets were shared between four bowlers with medium-pacer Faheem Ashraf taking two for 19 - with the two his wickets coming in his first finished - to decrease South Africa to 45 for four.
Quick bowler Olivier was twice engaged with significant achievements as Pakistan were knocked down some pins out for 185 in their first innings.
He finished a hour of dissatisfaction for South Africa when he took two wickets in four balls following the morning drinks break, finishing the obstinate obstruction of nightwatchman Mohammad Abbas, who batted for 88 minutes and confronted 51 balls in scoring 11.
Three balls later Asad Shafiq dodged a bouncer yet was gotten behind off his glove.
Abbas and opening batsman Imam-ul-Haq, who proceeded to make 43, were both dropped twice amid the principal hour of play. South Africa additionally botched two run-out chances.
Pakistan were 91 for five when Imam was gotten at second slip off Vernon Philander however Babar Azam (49) and chief Sarfraz Ahmed (50) put on 78 off just 61 balls for the 6th wicket.
Kagiso Rabada finished the stand when Sarfraz was gotten at first slip and four balls later Olivier had Azam gotten at long leg. Olivier made it a twofold strike when Faheem Ashraf was out first ball, grafting a confounded draw to short leg.
Olivier began the arrangement as South Africa's fifth-decision quick bowler yet played in the primary Test in Centurion as a result of wounds to Vernon Philander and Lungi Ngidi. He had coordinate figures of 11 for 96, inciting South Africa to select a four-man pace assault when Philander returned for the second Test.
South African remain in chief Dean Elgar was gotten behind for five off Mohammad Amir and first innings top-scorer Aiden Markram trailed making a windy 21.
The South African innings was in confusion when Ashraf expelled both Theunis de Bruyn and new top Zubayr Hamza in about two balls previously Amla and Temba Bavuma (23) included 48 for the fifth wicket. It was left to De Kock to lift the beat.