Second Test, Cape Town, day four:
South Africa 326 & 185-6 beat Pakistan 338 & 169 by four wickets
Saeed Ajmal's 10-wicket haul was in vain as South Africa beat Pakistan by four wickets inside four days to take a 2-0 lead in the three-match series.
Pakistan lost their last six wickets for 22 runs before Hashim Amla (58) guided the Proteas to victory.
Off-spinner Ajmal finished with figures of 10-150, his third 10-wicket haul in Tests.
Fast bowler Vernon Philander was chief destroyer for South Africa, finishing with 9-99 in the match.
South Africa's winning streak
Lead Pakistan 2-0 (home)
Beat NZ 2-0 (home)
Beat Australia 1-0 (away)
Beat England 2-0 (away)
Beat NZ 1-0 (away)
Beat Sri Lanka 2-1 (home)
South Africa have now won their last six Test series, are undefeated in 12 and have not lost a match since December 2011, 14 games ago.
Pakistan were left to regret an opportunity missed after reducing South Africa to 109-5 in their first innings, having scored 338 themselves, with Younis Khan and Asad Shafiq both making 111.
The tourists began day four on 100-3 after Azhar Ali and Misbah-ul-Haq had battled through the evening session on Saturday to leave the game evenly poised.
A rush of blood saw Misbah depart in the ninth over of the morning when he was caught attempting to sweep spinner Robin Peterson.
And with South Africa's seamers finding lateral movement with the new ball, Pakistan lost three wickets in three balls as their lower order collapsed.
Although the hosts lost wickets at regular intervals, they never looked under pressure chasing a moderate target, particularly after Graeme Smith and Amla added a quick 53 for the second wicket.
Faf du Plessis became Ajmal's 10th victim of the match with two runs needed but Dean Elgar and Peterson, who scored a career-best 84 in his side's first innings, saw South Africa home.