Momoko Tanikawa scored a stunning 96th-minute winner as Japan netted twice in injury time to come from behind and beat Brazil 2-1 in the Olympic women's soccer tournament on Sunday.

Japan, the 2012 Olympic runner-up, was staring at a second straight defeat in Group C that would have left it in serious danger of a first-round exit after Jhennifer put Brazil ahead early in the second half.

But captain Saki Kumagai rolled in a 92nd-minute penalty to equalize at the Parc des Princes in Paris before 19-year-old substitute Tanikawa's incredible first-time shot from 30 meters sailed over the goalkeeper and in for the winner.