Napoli earned a thrilling 3-2 home win over Leicester City on Thursday to reach the Europa League knockout stages as Group C runners-up behind Spartak Moscow.
Spartak won 1-0 at Legia Warsaw to secure an automatic last-16 berth while Napoli face a playoff against one of the third-placed teams in the Champions League dropping into Europe's second-tier competition after the winter break.
Third-placed Leicester go into the third-tier Europa Conference League where they will enter a playoff with one of the competition's runners-up for a last-16 berth.
Adam Ounas fired Napoli into a fourth-minute lead with a crisp low shot and the Serie A side appeared to be in cruise control after Eljif Elmas made it 2-0 with a tap-in after unselfish work from Andrea Petagna.
Sloppy defending cost the home twice in quick succession before halftime, however, as Jonny Evans drilled in a loose ball in the 27th minute and Kiernan Dewsbury-Hall volleyed in the equaliser with his first goal for Leicester.
North Macedonia playmaker Elmas put Napoli back in front shortly after the break, taking a tame-looking cross past a static defence before he steered the ball past goalkeeper Kasper Schmeichel.
Spartak, who edged Napoli to top spot with a superior head-to-head record, advanced after their goalkeeper Alexander Selikhov saved a stoppage-time penalty with forward Zelimkhan Bakaev netting a 17th-minute winner at Legia.
Bakaev curled in a fine low shot from the edge of the penalty area but it was Selikhov who emerged as Spartak's hero, parrying Tomas Pekhart's spot-kick which would have knocked the Russian side out had the Czech forward scored.
Real Sociedad also booked a playoff berth as they finished runners-up in Group B thanks to a 3-0 home win over PSV Eindhoven which took the Spanish side above the 1988 European Cup winners.
Mikel Oyarzabal fired Sociedad ahead with a 43rd-minute penalty and added the second before Alexander Soerloth netted in stoppage time to complete a comfortable victory.
Tottenham captain Harry Kane has condemned a racist incident involving Richarlison during Brazil's 5-1 victory over Tunisia as "unacceptable."Barca VP: Messi return financially possible in '23
Barcelona vice president Eduard Romeu has said Lionel Messi's return to the club as a player would be financially possible next summer.Denmark WC kit protests Qatar on human rights
Denmark will wear kits at the World Cup that protest the human rights record of Qatar, with a black option, which was unveiled on Wednesday.Ex-Prem player summoned to serve Russia army
Former Everton player Diniyar Bilyaletdinov has been summoned to serve in the Russian army.'Tata' hits back at critics in 'peculiar' Mexico setup
Mexico manager Gerardo "Tata" Martino hit back at criticism after his team failed to hold onto a 2-0 lead in a 3-2 friendly loss to Colombia.Women's World Cup ticket sales to begin Oct. 6
Ticket packages for the 2023 Women's World Cup co-hosted by Australia and New Zealand go on sale in October.Arsenal's 'very weird' goalpost incident in CL
Arsenal Women's win over Ajax was overshadowed by bizarre scenes ahead of kick-off when the goalposts were found to be too small.PSG president hits out at Barcelona asset sales
PSG president Nasser Al-Khelaifi has said Barcelona's asset sales in the summer were "not fair" and suggested UEFA would investigate their legality.