Morocco upset Argentina for a 2-1 victory in the teams' opening match at the Olympic Games, with the contest ending in chaotic fashion after a two-hour delay caused by crowd trouble.
Morocco were on course for victory when Al Ain striker Soufiane Rahimi scored twice in a five-minute spell either side of half-time, before Giuliano Simeone halved the arrears for Argentina.
Cristian Medina appeared to have equalised deep into stoppage time, but crowd trouble caused referee Glenn Nyberg to take the teams off the pitch before a VAR review could take place.
It was ruled that Bruno Amione was offside in the build-up, and with the goal chalked off, the teams returned to play three further minutes in an empty stadium two hours later, Morocco holding on for a memorable win.
Morocco inched ahead two minutes into first-half stoppage time, Ilias Akhomach bamboozling the Argentina defence with a wonderful backheel that allowed Bilal El Khannouss to cross for Rahimi to tap home.
Within four minutes of the restart, Morocco had a chance to double their lead as the tricky Akhomach was pushed inside the area by Julio Soler. Rahimi stepped up to the spot and made no mistake, stroking his kick into the bottom-left corner.
Javier Mascherano's team dragged themselves back into the contest with 22 minutes to play, though, as Soler's cross-shot was prodded in by the stretching substitute Simeone.
It looked like Argentina had levelled 16 minutes into stoppage time as both Amione and Nicolas Otamendi struck the crossbar before Medina nodded home from almost on the goal line.
However, some spectators then threw cups, bottles and pyrotechnics at the celebrating Argentina players, causing the teams to leave the field for almost two hours as fans were told to leave the stadium.
With a VAR review ruling Amione was offside in the build-up to Medina's header, the game restarted at 2-1 to Morocco and the Atlas Lions clung on for a huge win.