Peru finally struck when it mattered least to see off Australia 2-0 in their last Group C encounter.
Already eliminated, Los Incas set about their task with calmness and patience before breaking the deadlock with their first chance on 18 minutes, Andre Carrillo volleying a splendid effort inside the far post from a cross.
It was a wonderful finish and a memorable moment, sparking joy among the sea of Peru supporters decked out in red.
For Australia, that early goal was a damaging blow to their hopes of clinching a spot in the last 16.
The Socceroos needed a victory combined with a France win against Denmark to advance, but the situation in the other game began to matter far less after Paolo Guerrero doubled the deficit five minutes after the break, adding to his assist for the opener.