Liverpool and Chelsea have both advanced to the UEFA Champions League last-16 after winning their final group games.
Liverpool knew a one-goal defeat at Red Bull Salzburg would end their hopes.
But Jurgen Klopp's side kept well away from that scenario as they won 2-0 in Austria.
Naby Keita scored his second goal in two games on 57 minutes, heading in Sadio Mane's cross.
Mo Salah netted from the tightest of angles just one minute later to put the result beyond doubt and means the Reds qualify top of Group E.
Napoli advance to the Champions League last-16 in second-place after thrashing Genk 4-0 at the Stadio San Paolo.
Ajax Exit
Chelsea also secured their passage to the knockout stages after edging Lille 2-1 at Stamford Bridge.
Tammy Abraham and Cesar Azpilicueta's first-half goals had Frank Lampard's side in control.
Ex-Blues striker Loic Remy pulled one back for Lille with 12 minutes to go.
But Chelsea hung on to qualify second in Group H.
However, last season's semi-finalists Ajax must make do with Europa League football next spring.
The Dutch champions lost 1-0 at home to Valencia to finish third in the group. It's the Spanish side that progress at their expense as group winners.
Like Ajax, Inter Milan will also play in Europe's secondary cup competition in the first-half of 2020.
Antonio Conte's side lost 2-1 to Group F leaders Barcelona at the San Siro which allowed 10-man Borussia Dortmund to take second spot after the Germans saw off Slavia Prague 2-1 on home soil.
Meanwhile, Lyon have reached the knockout stages from Group G. The Ligue 1 side drew 2-2 against group leaders RB Leipzig which was enough for them to pip Zenit St Petersburg who lost 3-0 at Benfica, who in turn usurped the Russian side for the third-place Europa League spot.
The Champions League action resumes on Wednesday with Manchester City and Tottenham playing out their final group assignments.