Romania and Slovakia both qualified for the last 16 at Euro 2024 after a tense 1-1 draw in their last Group E game on Wednesday.
Ondrej Duda put Slovakia ahead in the first half but Romania's Razvan Marin equalised with a penalty before the interval.
With all four teams in the group earning four points from their three games, Romania finished top having scored more goals than second-placed Belgium.
Slovakia went through in third place thanks to a superior goal difference to fourth-placed Ukraine.
It was a memorable moment for Romania, who are into the knockout stages of the Euros for the first time in 24 years.