France were forced to wait to secure qualification for the knockout stages of the Euros after they were held by a resilient Hungary to a 1-1 draw in front of a capacity crowd at the Puskas Arena in Budapest.
Meeting in scorching sunshine in front of more than 60,000 fans, Hungary stunned the world champions by taking a shock lead through Attila Fiola when he burst clear to finish calmly beyond Hugo Lloris in first-half injury time.
France were rocked heading into the break but equalize through Antoine Griezmann in the 66th minute following some route-one football from goalkeeper Lloris and clever hold-up play by Kylian Mbappe.
France pressed strongly in the closing stages but failed to get the breakthrough as a raucous crowd in Budapest celebrated as if their team had won.
The result puts Didier Deschamps men top of Group F on four points from two games heading into their final group match against Portugal at the same venue on Wednesday.