Kylian Mbappe made history as France booked their place in the World Cup's knockout rounds with an unconvincing 1-0 Group C defeat of Peru.
France were fortunate in their 2-1 opening win over Australia and they had slices of luck again at the Ekaterinburg Arena on Thursday.
Mbappe's goal, which came from close-range after Olivier Giroud's shot took a wicked deflection to beat goalkeeper Pedro Gallese, saw the 19-year-old become the youngest player to score for France at a major international tournament.
As they did in losing narrowly to Denmark, Peru had plenty of chances, returning captain Paolo Guerrero firing at Hugo Lloris and Pedro Aquino clipping the post with a super strike from range.
However, Peru were unable to find a way through and Ricardo Gareca's side - who have yet to find the net in Russia - are certain to be knocked out.
Denmark look set to join France in the last 16 after their 1-1 draw with Australia, but they need a point against Les Bleus in their final outing to be certain of progressing.
19 - Kylian Mbappe (19 years & 6 months) is the youngest France player ever to score in a major tournament (World Cup + EURO). Speechless.— OptaJean (@OptaJean) June 21, 2018
Lloris was making his 100th France appearance and the goalkeeper was almost tested by an ambitious early strike from Yoshimar Yotun, but the shot from the halfway line drifted wide.
Antoine Griezmann - who signed a new Atletico Madrid contract on Monday - had France's first opportunity in the 11th minute but Euro 2016's leading scorer fired wide, while Paul Pogba also failed to work Peru goalkeeper Gallese.
Chances were flowing for France, Raphael Varane missing with a header before Gallese saved with his legs to deny Griezmann after Giroud found his strike partner with a headed pass.
But France's early intensity started to fade and Peru should have taken advantage, yet Guerrero shot straight at Lloris on the turn after Christian Cueva found him in the box.
That miss proved key as Mbappe's historic World Cup moment gave France a 34th-minute lead.
Pogba slid Giroud into the area and when the striker's shot looped over Gallese via a deflection off Christian Ramos, Mbappe could not miss from inside the six-yard box.
Gallese prevented Lucas Hernandez from doubling the France lead as Peru ended the first half on the ropes.
Gareca sent on Anderson Santamaria and Jefferson Farfan at the break, while Samuel Umtiti shook off a dead leg, before Aquino clipped the outside of the post with a swerving drive from 25 yards.
Andre Carrillo fired over the crossbar and Farfan hit the side-netting as Peru grew increasingly desperate to keep their World Cup hopes alive.
Substitute Ousmane Dembele - dropped for Giroud - could have wrapped up the points in the 82nd minute but rifled wide, as France appeared to settle for a one-goal victory.
With Peru's record scorer Guerrero wasting a late free-kick, Didier Deschamps' squad safely held on to secure their place in the knockout stages.
Key Opta stats:
- France are unbeaten in their last eight World Cup fixtures against CONMEBOL opposition (W4 D4).
- Peru are winless in their last eight World Cup matches (D2 L6), scoring just two goals in this run.
- Les Bleus have qualified for the knockout stages of the World Cup for the sixth time in their last eight appearances – only failing to do so in 2002 and 2010.
- Kylian Mbappe has been directly involved in eight goals in his last nine games for France (4 goals, 4 assists).
- France captain Hugo Lloris is the seventh player to reach 100 caps with France.
|Folau in no rush to settle future amid Reds rumours|
|Degenkolb: I need two or three secretaries to manage congratulations!|
|Harrington v Garcia: When winning makes life tougher|
|Mafi and Timani fined by Rebels|
|Watson: Johnson and Woods can prosper at Carnoustie|
|Alderweireld hints at Tottenham departure|
|Maradona takes over as Dynamo Brest chairman|
|The Open 2018: Wounded animal Spieth is a danger to Carnoustie rivals|
|Wests´ Reynolds to miss the rest of 2018|
|Pussy Riot members jailed for World Cup final protest|
|Ronaldo capture boosts Serie A - Mourinho|
|Goals at three World Cups and 50 for the Socceroos – Cahill´s international career in numbers|
|Giroud: It´s coming home|
|Harper wins Home Run Derby in Nationals Park|
|Brighton sign Button from Fulham|
|Bolt set to trial with A-League club Central Coast Mariners|
|Thomas asks Seahawks for extension or trade|
|Walker doubts he´ll join Knicks, wants ´long´ stay at Hornets|
|Socceroos hero Cahill retires from internationals|
|Record income revenue for Barcelona|
|Kudla untroubled as Young bows out in Newport|
|Celtics still hoping to re-sign Smart|
|Villarreal sign highly rated Velez midfielder Caseres|
|Juventus signing Ronaldo should give Milan optimism – Kaka|
|Berrettini masters Mayer in Bastad|
|Manchester United and Ajax agree Daley Blind transfer|
|Familiarity with demands of Real Madrid an advantage – Lopetegui|
|Parmentier rallies to avoid Bucharest exit, Arruabarrena bows out in Gstaad|
|Steelers fail to sign Bell to long-term deal|
|Over 10 per cent of Croatia´s population welcomes World Cup heroes home|
|Thierry Henry quits pundit role to focus on coaching|
|France´s World Cup winners given heroes´ welcome in Paris|
|At the end we will see who is best - Ronaldo sidesteps Messi rivalry|
|Qatar? China? Ronaldo only has eyes for glory at Juventus|
|Proud Kane praises team-mates after Golden Boot win|
|The Open 2018 diary: Is that Tiger Woods? Harrington feels the Burn...|
|Porte targeting Vuelta after Tour de France anguish|
|Maradona madness, #WaistcoatWednesday, bruised Batshuayi - Alternative World Cup awards|
|It could be the best time - Martinez hints at Hazard Chelsea exit|
|England call up Billings as cover for injury doubt Roy|
|McIlroy on track for fitting major haul - Harrington|
|Froome plays down Thomas battle for Sky supremacy|
|Carnoustie record counts for little at The Open, says Fleetwood|
|I don´t see it - Napoli chief De Laurentiis plays down talk of Callejon-Suso swap|
|One or two changes required at Chelsea, says Sarri|
|Monaco confirm Golovin approach|
|Let´s keep making noise! - Serena dedicates Wimbledon run to fellow mothers|
|Full list of Open tee times|
|Fakhar inspires another big Pakistan ODI win|
|Spieth ´annoyed´ by re-watch of 13th hole|
|Kaka claims Ronaldo arrival will boost all Italian clubs|
|Spieth vows to be more artist than tactician in Open defence|
|Conte thanks Chelsea players, staff and fans|
|Rodgers: I´d love to play with the Packers to 40|
|Sevilla insist N´Zonzi will cost €40m|
|Hugill shows mystic powers with accurate World Cup predictions|
|World Cup 2018: FARE ready for post-tournament challenges in Russia|
|Woods grouped with Matsuyama and Knox at Open|
|Matthaus questions idea of French dynasty|
|Chandimal, Sri Lanka coach and manager banned for two Tests and four ODIs|
|Sassuolo demand at least €30m for Berardi|
|French media revels in ´crazy´ triumph|
|Mafi released on bail after alleged assault|
|Bierhoff must go! Berthold calls for Germany changes|
|Joshua to fight Povetkin in September|
|World Cup 2018: Goal-laden final adds to staggering World Cup stats|
|Runners and Ryders: Molinari impresses again as stars prepare for The Open|
|Macron to greet France team after Champs Elysees parade|
|Casillas and Suarez critical of VAR after World Cup final|
|TMO protocol clearly not working, says SANZAAR|