Morocco beat Argentina after pitch invasion and VAR drama at Olympics
After order was somewhat restored in Saint-Etienne and the teams had left the pitch, it was confirmed that the match was not over and had been suspended.
The game was then resumed over an hour later, with Argentina's late equaliser chalked off after a what is almost certainly the longest-ever VAR review.
There were just three minutes left on the clock when the game restarted, which allowed Morocco to usher out their 2-1 win.
Argentina were booed by spectators following Enzo Fernandez's controversial video, which has been widely labelled as "racist and discriminatory".
The gold medal winners in 2004 and 2008 failed to display their best play despite lining up recent Copa America winners Julian Alvarez, Nicolas Otamendi and Geronimo Rulli.
Soufiane Rahimi put Morocco ahead as Achraf Hakimi set him up from the right after a superb passing move in the final seconds of the first half.
Rahimi doubled the advantage and netted his second from the penalty spot in the 49th minute, before Giuliano Simeone pulled one back for Javier Mascherano's side in the 68th.
Medina then found the net 16 minutes into stoppage time, before fans stormed the pitch and objects were thrown at players as chaos erupted.
That goal was eventually ruled out by VAR for offside, which effectively handed Morocco their headline victory.
Meanwhile, Spain, who struggled to find their pace in the opening stages of the game, took the lead in the 29th minute against Uzbekistan with a close-range finish from Marc Pubill off Abel Ruiz's flicked ball.
Uzbekistan, cheered by an ecstatic crowd, equalised just before halftime thanks to Eldor Shomurodov's penalty following a VAR review for a Pau Cubarsi foul.
Spain wasted a golden chance to restore the lead after the break when Sergio Gomez's penalty effort was saved by Abduvohid Nematov, but the Real Sociedad player redeemed himself and found the net in the 62nd minute to earn Spain their first three points in Group C.