Budapest: France and defending champions Portugal both qualified for the round-of-16 at the Euro 2020 after they played out a 2-2 draw in a thrilling match that saw three penalties given and scored.
Before the game, the Euro 2016 winners can go through if they avoid defeat. They will finish first if they win and Germany do not. For France, they had secured a spot in the round of 16 before the game.
Kylian Mbappe almost put the 2018 World Cup winners ahead in the 16th minute with a low shot, after collecting Paul Pogba's accurate through ball, but the French talent's attempt was denied by Portugal goalkeeper Rui Patricio.
The first of the spot-kicks came when Hugo Lloris raced off his line to punch a cross clear, but caught Danilo first. The penalty was given and Cristiano Ronaldo converted from the spot.
Karim Benzema levelled for France with a penalty before the half break, after it was adjudged that Nelson Semedo had halted an off-the-ball run of Kylian Mbappe in the box.
Benzema was on target again shortly after halftime, beating the offside trap and firing a shot past Rui Patricio after receiving Pogba's pass.
In the 58th minute, Portugal was awarded the second penalty of the clash after the referee ruled a hand ball by Jules Kounde.
Ronaldo then beat Lloris again to take his tournament tally up to five and equal the international goalscoring record (109) held by Iran's retired footballer Ali Daei.
In the round of 16, Portugal will face Belgium and group F winner France will meet Switzerland.