Argentina had to sweat, but they eventually got the job done against Chile. Lautaro Martinez proved the difference in the final minutes, giving the defending champs a 1-0 win to punch a ticket to the 2024 Copa America quarterfinals.

Lionel Messi once again played the full 90 minutes for his side, though he couldn’t make much of an impact as he seemed to be in discomfort during the first half.

With this victory, Argentina head into the group stage finale in high spirits, with a ticket to the 2024 Copa America knockout phase under their belts. On Saturday, Lionel Scaloni’s side will play Peru. Chile, on the other hand, will have to battle it out with Canada for a place in the quarterfinals.