Argentina saw off a resilient Algeria in the Men's Olympic Football Tournament 2-1, in a game that saw both sides finish with ten men at the Olympic Stadium in Rio de Janeiro.
Angel Correa put La Albiceleste - then at a one man disadvantage thanks to Victor Cuesta's red card - in front moments after the break, before Sofiane Bendebka equalised just after the hour mark. Ayoub Abdellaoui then levelled the playing field by picking up his second booking, with Jonathan Calleri grabbing Argentina's winner minutes later.
Despite Argentina having much of the opening exchanges in a rather low-tempo first half, it was Algeria who had the standout chance of the first period. Baghdad Bounedjah was sent clear by substitute Mohammed Benkhemassa, with the Algeria No7 finding himself one-on-one with Geronimo Rulli. The forward tried to loft the ball over the Argentinian keeper, but Rulli was equal to the effort.
Seconds before the half-time whistle, Argentina captain Cuesta received a second booking for hauling down Bounedjah and was dismissed.
Any hopes that Algeria would immediately capitalise on the man advantage were dashed just after the interval. A hopeful long ball upfield was flicked on by a combination of Jonathan Calleri and his marker, with Correa racing onto the loose ball and calmly hitting a left-footed shot past Chaal.
With Argentina looking in control, Mohammed Benkablia was teed up by Bendebka, with the No9 firing wide. Bendebka would not be so wasteful moments later. The NA Hussein Day midfielder sprung the offside trap and calmly slotted past Rulli to stun La Albiceleste.
Algeria were their own worst enemy minutes later, with Ayoub Abdellaoui sent off for collecting his second yellow card after catching Cristian Pavon with a high boot. With Les Verts reorganising their defence, Julio Olarticoechea's side pounced.
Giovanni Lo Celso worked the ball down the Argentinian left, finding Calleri on the edge of the Algerian box. The forward exchanged passes with Correa, before lifting the ball over the onrushing Chaal.
Despite Pavon hitting the post late on, neither side troubled the scorers again, with the result eliminating Algeria and sending Portugal through to the last eight. Argentina face Honduras in a winner-takes-all clash for second place in Group D on Wednesday.