Australia stunned Denmark in a critical World Cup match and reached the knockout stage for the second time in the country’s history, as Tunisia defeated France in their Group D match.

Matthew Leckie put Australia ahead in the 60th minute in a win or go home match. Leckie was in open space and made two moves around the Danish defenders to pass the ball to Kasper Schmeichel to make it 1-0. After that, the Roos stood their ground and stopped any further opportunity from Denmark.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Harry Souttar of Australia celebrates at the end of the World Cup Group D soccer match between Australia and Denmark, at the Al Janoub Stadium in Al Wakrah, Qatar, Wednesday, November 30, 2022.
(AP Photo/Francisco Seco)

It was Leckie’s first World Cup. He made his World Cup debut in 2014 for Australia, but the country hasn’t made it out of the group stage since 2006, when Tim Cahill was scoring goals for the team.

Now, they finish runners-up to France in Group D and will play the winners of Group C.

WORLD CUP 2022: CHRISTIAN PULISIC RECEIVES INJURY UPDATE AS NETHERLANDS MATCH APPROACHES

Australia's Mathew Leckie, left, celebrates with teammate Riley McGree after scoring his team's first goal during the World Cup Group D soccer match between Australia and Denmark, at the Al Janoub Stadium in Al Wakrah, Qatar, on Wednesday, November 30, 2022.

Australia’s Mathew Leckie, left, celebrates with teammate Riley McGree after scoring his team’s first goal during the World Cup Group D soccer match between Australia and Denmark, at the Al Janoub Stadium in Al Wakrah, Qatar, on Wednesday, November 30, 2022.
(AP Photo/Thanassis Stavrakis)

Denmark were ranked 10th in the FIFA rankings prior to the tournament, and Australia were ranked 38th.

In the other match in Group D, Tunisia defeated France 1-0, in a game that was to see the French through to the qualifiers anyway. Tunisia was ranked 30th in the FIFA rankings prior to the tournament, and France was ranked fourth despite being the defending World Cup champions.

Wahbi Khazri scored a goal in the 58th minute and despite having a star-studded lineup, France were unable to put anything on the board against Aymen Dahmen. In discount time. Antoine Griezmann finally broke through, but his score was disallowed because he was offside.

Teammaes congratulates Wahbi Khazri after he scored his team's first goal against France during a World Cup Group D soccer match at Education City Stadium in Al Rayyan, Qatar on Wednesday, November 30, 2022.

Teammaes congratulates Wahbi Khazri after he scored his team’s first goal against France during a World Cup Group D soccer match at Education City Stadium in Al Rayyan, Qatar on Wednesday, November 30, 2022.
(AP Photo/Martin Meissner)

CLICK HERE TO GET THE FOX NEWS APP

Tunisia picked up a win to salvage a World Cup win.