In the first One-Day International of three-match series at Centurion, Pakistan beat South Africa by three wickets.
Bating first, South Africa set victory target of 274 runs for loss of six wickets in 50 overs.
In reply, Pakistan achieved the target on last ball for the loss of seven wickets.
Pakistan cricket team captain Babar Azam was declared man of the match for scoring 103 runs.
Pakistan now lead the three-match series by one-nil.
The second match of the series will be played on Sunday at Johannesburg.