Stay up to date with the latest news
Subscribe to our telegram channel
Antoine Griezmann opened the score on 13 minutes from penalty kick. Angel Di Maria equalized on 41 minutes of the game.
Gabriel Mercado put them ahead after the break. But Benjamin Pavard also netted a fine strike to equalize the scire.
Kylian Mbappe recorded a brace on 64 and 68 minutes to give healthy lead to France. Substitute Sergio Aguero added a third in stoppage time.
France advanced to quarterfinals and face either Uruguay or Portugal.