Hashim Amla and Jacques Kallis steered South Africa to a comfortable victory in the first Test against Pakistan on Monday.
South Africa, who were chasing 199 to win, reached 199 for three with 40 minutes to go before the scheduled tea interval on the fifth day.
Pakistan were dismissed for 313 in their first innings, to which South Africa replied with 417.
Pakistan were bowled out for 302 in their second innings.
Amla was 64 not out with Kallis on 60 in a stand of 119 for the unbroken fourth wicket.
The partnership was a record for South Africa's fourth wicket against Pakistan, surpassing the 108 that Gary Kirsten and Herschelle Gibbs shared in Faisalabad in 2003-04.
South Africa resumed on 69 for two after morning rain delayed the start of play by 45 minutes.
Nightwatchman Paul Harris, who scored seven, was the only casualty of the final day's play.
Harris was dismissed in the sixth over of the day when he drove a delivery from fast bowler Mohammad Asif into the hands of Faisal Iqbal in the covers.
Amla and Kallis batted cautiously but they scored steadily to take South Africa to a convincing victory.
Cricket South Africa (CSA) said in a statement that Herschelle Gibbs would appear at a CSA disciplinary hearing on Tuesday over an incident during the fourth day's play on Sunday.
Gibbs was recorded on the stump microphones making derogatory comments about Pakistanis.
The comments generated a flood of e-mails to the broadcasters, Supersport, and the Pakistan Cricket Board has lodged a complaint with International Cricket Council match referee Chris Broad.
The second Test starts in Port Elizabeth on Friday.
Scorecard
Pakistan (1st innings): 313
South Africa (1st innings): 417
Pakistan (2nd innings): 302
South Africa (2nd innings): 69-2 overnight)
G. Smith lbw b Mohammad Hafeez 32
A. de Villiers c Younis Khan b Mohammad Asif 12
H. Amla not out 35
P. Harris c Faisal Iqbal b Mohammad Asif 7
J. Kallis not out 22
Extras: (lb-4 nb-10) 14
Total: (for three wkts, 38 overs) 122
Fall of wickets: 1-20, 2-67, 3-80.
To bat: H Gibbs, A Prince, M Boucher, S Pollock, A Nel, M Ntini.
Bowling: Mohammad Asif 14-2-56-2 (nb-9), Naved-ul-Hasan 2-0-9-0 (nb-1), Shahid Nazir 2-1-5-0, Danish Kaneria 15-3-34-0, Mohammad Hafeez 5-1-14-1.