Kylian Mbappe fired unconvincing France into the World Cup knockout stages after a nervy 1-0 win over plucky Peru.
The Paris St Germain forward scored his first goal in Russia to give Didier Deschamps' side victory at the Central Stadium in Yekaterinburg.
Pedro Aquino hit the post for lively Peru, who are still waiting for their first World Cup win since 1978, and the South American side can no longer qualify from Group C.
France are top of the group after the second round of matches, two points ahead of Denmark and five in front of third-placed Australia, meaning they will now progress.
They face Denmark in their final game to determine who will top the group, while the Danes need just a point to progress.