Stephen Eustaquio’s stoppage-time strike sealed co-hosts Canada a 1-0 World Cup knock-out win against South Africa and a place in the last 16.
Canada captain Eustaquio lashed home from the edge of the box in the second minute of added time at the Los Angeles Stadium to clinch Jesse Marsch’s side a round of 16 tie against Morocco or the Netherlands in Houston on 4 July.
Canada, the first team into the last 16, had progressed from their group by finishing second, but after drawing 1-1 with Bosnia-Herzegovina and thrashing Qatar 6-0, a 2-1 defeat to Switzerland saw them lose home advantage for the knockout stage.
South Africa also finished second in their group behind winners Mexico, while both sides were playing in their first World Cup knockout match and in a cagey encounter served up few clear-cut chances.
Canada were furious when their appeals for a penalty just before the interval were dismissed after Khuliso Mudau’s challenge on Richie Laryea.

Chances were at a premium in LA
More heroic defending from South Africa in the second period denied Jonathan David a headed chance after Williams had kept out Tani Oluwaseyi’s initial effort.
Jonathan David and substitute Promise David both went close for Canada, while South Africa forward Oswin Appollis’ effort was well saved by Maxim Crepeau.
The game appeared set for extra-time, but when a deep cross in time added on was only partially cleared, Los Angeles FC midfielder Eustaquio settled it by firing a brilliant low shot into the bottom corner.