Mathew Leckie claimed a fine second-half winner as Australia masterminded a World Cup shock by progressing to the knockout stages with a 1-0 victory which eliminated Denmark.
The Socceroos and the Danes were both in danger of crashing out of the tournament due to Tunisia taking the lead against reigning champions France in the other Group D fixture.
But Leckie had other ideas and delivered the knockout blow for the Danes with a superb solo effort in the 60th minute to send Australia into the last 16 for the first time since 2006.
The Melbourne City forward ran almost half the length of the pitch and twisted and turned Joakim Maehle before calmly finishing beyond Kasper Schmeichel.
Denmark offered little in response, albeit they were denied a penalty by an offside flag when Algerian referee Mustapha Ghorbal pointed to the spot following Harry Souttar’s adjudged foul on Kasper Dolberg.
Graham Arnold’s men, who finished the group behind France on goal difference, will face one of Poland, Argentina or Saudi Arabia in the second round on Saturday.
With the Socceroos starting the day in second spot courtesy of their win over Tunisia, the onus to attack was on Denmark.
The Danes were initially positive and dominated possession against a team 28 places below them in the FIFA world rankings, only to be frustrated in a forgettable opening period.
Australia goalkeeper Mathew Ryan tipped over from Mathias Jensen and unconventionally turned away a dangerous cross from marauding left-back Maehle, while Christian Eriksen dragged an effort wide.
Socceroos coach Arnold had spoken pre-match about “putting the game on the map a bit more” back home, as well as his desire to make the Australian public smile.
While his compact side were content to sit in and keep things tight, Middlesbrough’s Riley McGree tested Schmeichel during a rare foray forward to show they could cause problems on the counter attack.
The pattern of play persisted into the second period before a goal in the other Group D game left both sides in grave danger.
News of Tunisia forward Wahbi Khazri opening the scoring against France appeared to have filtered through to the Al Janoub Stadium just before Leckie latched on to McGree’s through ball to race clear and finish with aplomb.
Denmark needed at least two goals to avoid leaving Qatar early but, with their lack of cutting edge, even an equaliser seemed unlikely.
Australia endured a major scare 19 minutes from time when substitute Dolberg tumbled in the box before the penalty decision was swiftly overturned.
The spirited Socceroos, led impressively by Scotland-born centre-back Souttar, defended doggedly and deservedly survived six minutes of added time to upset the Euro 2020 semi-finalists and march on.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here