England remained undefeated at the Women's World Cup and clinched the top spot in their group with a 2-0 victory over Japan on Wednesday.
But there was heartbreak for Scotland who squandered a 3-0 goal with just 21 minutes remaining against Argentina as they bowed out with a 3-3 draw in Group D.
Ellen White scored both goals against Japan and has three so far at the tournament.
The Birmingham City forward broke the deadlock in the 14th minute when she chipped the ball past Japan goalkeeper Saki Kumagai.
White's second came in the 84th minute following a through-ball by Karen Carney.
It was the first time since 1982 that an England team, men or women, has won all three group stage games.
The Lionesses advanced to the knockout stage to face a third-place team in Valenciennes on Sunday.
Japan's first defeat of the tournament dropped them to second in Group D, with a match against the winner of Group E on Tuesday in Rennes.
But Scotland crashed out in heart-breaking fashion.
Shelley Kerr's side appeared on course for the win they needed in their final group game as goals from Kim Little, Jennifer Beattie and Erin Cuthbert put them 3-0 up with 21 minutes remaining at the Parc des Princes.
Qualification for the knockout stage was within Scotland's grasp as one of the best third-placed finishers.
But Argentina hit back through goals from substitute Milagros Menendez and Florencia Bonsegundo, who then scored a retaken penalty in stoppage time after her initial spot-kick had been saved to send the Scots home in the cruellest of circumstances.