Fast bowler Makhaya Ntini took three wickets in an over to put South Africa firmly in command of the second Test against Pakistan on Wednesday.
Ntini dismissed Misbah-ul-Haq (41), Umar Gul (0) and Danish Kaneria (0) in his second over of the day shortly before lunch as the hosts reached the interval on 204 for nine before being dismissed in the first over on resumption.
Pakistan were only able to add a pair of runs to their third day lunch total, giving South Africa a 151-run first innings lead after they batted first and amassed 357.
Left-arm spinner Paul Harris dismissed last man Mohammad Asif for four to return figures of 3-57. Ntini took 3-42.
Despite struggling in recent months, Ntini found his most devastating form as Pakistan lost three wickets with the total of 189.
He had Misbah caught behind off his first ball to a poor shot and trapped Gul leg before with his next delivery. He missed a hat-trick when Kaneira edged just short of Jacques Kallis at slip.
However, Ntini got the spinner to edge the final delivery of the over to Mark Boucher, who became the first wicketkeeper in Test history to complete 400 dismissals.
Pakistan, who resumed on 140-4, were rocked in the second over when they lost their key overnight batsman Inzamam-ul-Haq (14), who is playing in his final Test.
Inzamam was forced into edging a probing off-cutter from Kallis to Boucher after having added four runs.
Three overs later, Dale Steyn forced captain Shoaib Malik (1) to fend a rising delivery to Hashim Amla at forward shortleg.
The fall of early wickets slowed down scoring to a trickle with just 23 runs made in the first hour.
Misbah did find an able partner in the left handed Rehman and they added 39 runs for the seventh wicket before Ntini struck.
South Africa won the first Test of the two-match series in Karachi by 160 runs.