Peru marked their first win at Russia 2018, defeating Australia 2-0 in the final matchday for Group C.
The Socceroos needed a win and Denmark to lose against France in order to secure a berth in the round of 16.
While Peru were already eliminated, that didn't deter them from putting on a show, surprising their own fans and Australia with a very different approach to their opening two games.
Australia began the game looking more comfortable in possession and carving out a few chances early on, looking to get straight into it from the opening whistle.
The Socceroos threatened with clearer cut and higher quality chances, but were ultimately wasteful with some golden opportunities either going wide or being shot straight at a staunch Peruvian defence.
Interestingly, the game was turned on its head just 18 minutes in as Peru caught Australia napping and scored a stunning opener against the run of play.
Peru captain Paolo Guerrero's overhead cross was met by an unmarked Andre Carrillo, who had plenty of space to send a sumptuous volley past a helpless Mat Ryan.
Australia coach Bert van Marwijk berated the referees for a suspicion of offside, with questions asked why the VAR did not intervene.
The second half continued the same way as Peru barely took 5 minutes to score their second. Peru's captain Paolo Guerrero pounced on a slight deflection and sent Peruvian fans into raptures.
In contrary to their first two matches Australia played open flowing football and several chances, but with missed chances and frustration aplenty Peru were gifted the control and possibly the game.
Peru also looked a very different side, the composure that they lacked against France and Denmark was very much in effect against Australia.
Australia brought in their all-time scorer Tim Cahill and Daniel Arzani in search of an answer, and while the duo dramatically influenced the Socceroos' approach, Peru seemed impenetrable as their composure kept Australia well and truly at bay.
Possession and chances don't win games, and Peru displayed this philosophy brilliantly to end a disappointing World Cup campaign on a high note.
While the game ended in Peru's favour, both sides failed to progress as Denmark and France played out a 0-0.
WORLD CUP - GROUP C
Australia - 0
Peru - 2 (Carrillo 18', 50')
Fisht Stadium, Sochi