Australia have reached the World Cup round of 16 for the first time since 2006 after stunning Denmark 1-0.
The Danes, needing victory to progress, dominated possession, but were caught-out on the break right on the hour-mark when Mathew Leckie finished a brilliant counter-attack with a low shot past Kasper Schmeichel.
Australia finish second in Group D on six points, only behind world champions France on goal difference.
Denmark, meanwhile, exit Qatar in disappointing fashion, with just one point from three games, sitting bottom of the group.