Japan pulled off the biggest upset in Rugby World Cup history thanks to Karne Hesketh's last-minute try against South Africa, winning 34-32 in Brighton.
The lead changed hands seven times in a thrilling game in Brighton, with the replacement winger sealing the win after 84 minutes.
South Africa led 12-10 at half-time, with tries from Francois Louw and Bismarck du Plessis, to one for Japan through Michael Leitch.
Lood de Jager's try gave them a six-point lead early in the second half, but Japan kept chipping away through the boot of Ayumu Goromaru.
Adriaan Strauss powered over for the Springboks' fourth try, but Japan refused to give up, with Goromaru scoring a fine try of his own before Hesketh's winner.