Bongi Mbonambi's last-gasp try helped South Africa edge a 29-26 victory over France in Paris.
France had moved into a seemingly commanding 16-9 half-time lead following a drop goal by Camille Lopez and a converted try from Guilhem Guirado after Baptiste Serin had kicked two early penalties.
Centre Mathieu Bastareaud powered over early in the second half to further extend Les Bleus' advantage at 23-9, before the Springboks, defeated by England last weekend, started their recovery with a converted try from S'busiso Nkosi and then two more penalties from fly-half Handre Pollard.
In the 66th minute, Serin kicked another penalty to give France some breathing space, but Mbonambi had the final say when, with only seconds remaining, he touched down coming off the back of a line-out as Pollard's successful conversion sealed victory.
France v South Africa - Match Highlights
France v South Africa - Match Stats
France: (16) 26
Try: Guirado (37'), Bastareaud (42')
Conversion: Serin (39', 43')
Penalty: Serin (7', 12', 67')
Drop-goal: Lopez (34')
South Africa: (9) 29
Try: Nkosi (44'), Mbonambi (81'+4)
Conversion: Pollard (45', 81'+6)
Penalty: Pollard (13', 22', 29', 53', 61')