Australia backed up their victory over Tunisia to beat heavily-favoured Denmark and knock the Scandinavians out of the World Cup, securing their own spot in the last 16.
Matthew Leckie scored the only goal of the game at Al Janoub Stadium on Wednesday, finishing in the 60th minute from Riley McGree's pass. Christian Eriksen and company couldn't find the goals they needed to send them through to the next round.
Tunisia had an outside chance of reaching the last 16 against the already-qualified French, but their 1-0 victory could only lift them up to third.
Australia 1-0 Denmark
Australia reached the knockout stages of a World Cup for the first time since 2006 by unexpectedly triumphing over Denmark.
The Danes have lacked a genuine goal threat all tournament and were made to pay as Australia took the lead in the second half, firing past Kasper Schmeichel while being aided by some slow defending.
Denmark thought they'd earned a penalty but the decision was quickly quashed for offside and they couldn't create any clear-cut opportunities.
Tunisia 1-0 France
With qualification already assured, France put out a rotated starting XI which included Eduardo Camavinga at left back and Matteo Guendouzi and Jordan Veretout in midfield.
They lacked rhythm with their rotated lineup and Tunisia pounced, scoring the opener as old Sunderland favourite Wahbi Khazri struck. That goal had Tunisia going through to the knockout stages at the time, but Australia's goal saw the North African side drop to third in Group D.