Argentina produced the greatest comeback in Women's World Cup history to keep its last-16 qualification hopes alive.
Scotland led 3-0 with 16 minutes to play in Paris on Wednesday with goals from Kim Little, Jennifer Beattie and Erin Cuthbert having seemingly secured victory for Shelley Kerr's team.
But Scotland collapsed in incredible circumstances, a 3-3 draw meaning it finished bottom of Group D and is out of the World Cup.
Milagros Menendez got one back for Argentina before it cut the deficit to a single goal when Flor Bonsegundo's strike rebounded off the woodwork and in off Lee Alexander.
The Scotland goalkeeper would be even more unfortunate in added time as she was beaten for a third time, Argentina having been awarded a penalty when Sophie Howard was adjudged to have fouled Aldana Cometti following a VAR check.
Alexander saved Bonsegundo's initial spotkick — and the rebound — but she was deemed to have moved off her line so the penalty was retaken, with the second effort smashed home.
3 - Argentina have become the first ever side to come from three goals down to avoid defeat in a Women’s World Cup match. Drama. #FIFAWWC #ARG #SCOARG pic.twitter.com/wjF9EiPRQC
— OptaJoe (@OptaJoe) June 19, 2019
No team has ever before come from three goals down to avoid defeat in a Women's World Cup match.
But Argentina still face an anxious wait to discover whether it will be in the last 16 as its progression depends on results in Thursday's action in Groups E and F.