Dean Elgar and Hashim Amla hit half-centuries as South Africa beat Pakistan by six wickets inside three days in the first Test at SuperSport Park in Centurion on Friday.
The pair survived some early scares and put on 119 for the second wicket before Elgar was caught behind off part-time medium-pacer Shan Masood for 50, one ball after reaching his half-century.
Amla finished
a year in which he seldom found top form by making 63 not out.
There were two crucial incidents with the total on 16, either of which could have swung the game in Pakistan's favour.
South African fast bowler Duanne Olivier was named man of the match for his match return of 11-96.
The second Test begins in Cape Town on January 3.