Chris Morris was South Africa's batting hero as he bludgeoned 62 from 38 balls as the Proteas beat England by one wicket in the fourth ODI to level the five-match series at two-all.
Chasing a target of 263 to stay in the series, Morris came to bat with the hosts in deep trouble at 191 for six in the 38th over.
The burly right-hander took advantage of being dropped when on 14 to swing the England bowlers to all parts of the Wanderers stadium.
He found good support from the tail-enders, especially number 10 Kyle Abbott, who just held up their end while Morris flayed the helpless English attack.
Although Morris was out with one run still to get as the supporters got tense, last man Imran Tahir hit his only ball for four as the hosts won with 16 balls remaining to send the crowd into ecstasy in the stands.
The Proteas should never have put themselves into a position from where their bowlers were fighting to get them over line. The top-order batsmen came out to rash shots on a good pitch.
All the batters got themselves in but then just as they were taking the game away from the tourists they would lose their wickets.
Faf du Plessis, AB de Villiers, JP Duminy and Farhaan Behardien all made scores in the thirties but could not capitalise until Morris saved their blushes at the end.
Earlier, the imperious Joe Root was again England's best batsman, by a mile, as the Yorkshireman struck a brilliant 109 off 124 as the visitors were bowled out for 262 in the 48th over.
South Africa have fought back from two-nil down in the series as all eyes will be on Cape Town on Sunday to see who lifts the series trophy.