The Euro 2024 group stage is complete and we now know who has reached the last 16 as the four best third-placed teams.
Netherlands, Georgia, Slovakia and Slovenia are the sides to go through, as Hungary and Croatia miss out.
But how is it determined who faces who in the last 16? BBC Sport takes a look.
How are the best third-placed teams decided?
According to Uefa, the four best third-placed teams are determined, in the order given, by the following criteria:
A. Higher number of points
B. Superior goal difference
C. Higher number of goals scored
E. Lower disciplinary points total based only on yellow and red cards received by players and team officials in all group matches (red card = three points, yellow card = one point, expulsion for two yellow cards in one match = three points)
F. Position in the overall European qualifiers rankings
How are the last-16 match-ups decided?
Teams from Groups D, F, E and C progressed as the best third-placed sides.
That is one of 15 combinations of sides that could, in theory, have gone through by this method, and Uefa has devised a table for who would face who in the last 16 for all those potential outcomes, shown below.
In the above, WB, WC, WE and WF stands for the winners of Groups B, C, E and F, who are the teams that will play the qualifying third-placed sides.
Who plays who is pre-determined, so the final rankings of the table of the best third-placed teams is irrelevant.
As mentioned earlier, those currently going through, in alphabetical order, are third-placed sides from Groups A, C, D and E.
That would lead to these last-16 ties: