Dinamo Zagreb sealed a playoff berth in the Europa League knockout stages after a stunning early goal from Mislav Orsic gave them a 1-0 win at a second-string West Ham United in Group H.
West Ham had already secured top spot and an automatic last-16 berth while runners-up Dinamo will face one of the third-placed teams dropping down from the Champions League.
Orsic again shone against Premier League opposition in Europe's second-tier competition after netting a hat-trick in Dinamo's memorable 3-2 aggregate win over Tottenham Hotspur in last season's knockout rounds.
The winger beat West Ham's reserve goalkeeper Alphonse Areola with a dipping shot from the edge of the penalty area into the top corner, delighting a handful of away fans at London stadium.
Areola did well to keep out two long-range efforts from Luka Ivanusec and another by Orsic as Dinamo dictated the game and were rarely troubled by the home side.
Red Star Belgrade, the 1991 European Cup winners, clinched Group F with a 1-1 draw at Portugal's Braga who finished second at the expense of third-placed Midtjylland who could only manage a 0-0 stalemate at Ludogorets.
Wenderson Galeno fired Braga ahead when he converted a 52nd-minute penalty before Aleksandar Katai replied with his own spot-kick, sending goalkeeper Matheus the wrong way after defender Radovan Pankov was fouled.
Midtjylland, who needed a win for a top-two finish, will go into the third-tier Europa Conference League where they will meet one of the runners-up for a last-16 berth.
Earlier on Thursday, Napoli secured a play-off berth with a thrilling 3-2 home win over Leicester City in Group C which sent the Premier League side from first to third in the standings and out of the competition. Spartak Moscow topped the group with a 1-0 victory at Legia Warsaw.
Villarreal became the last team to reach the Champions League knockout stages as Netherlands international Arnaut Danjuma's double helped them to a 3-2 win at Atalanta in their rearranged final Group F match.
The game was scheduled to take place on Wednesday but was postponed due to snow, and Villarreal wasted no time in putting themselves in the driving seat, with Danjuma racing clear to break the deadlock inside three minutes.
Atalanta had more of the ball in Bergamo and mustered plenty of attempts at goal, but their wastefulness proved costly as Etienne Capoue made it 2-0 three minutes before their break.
The home side knew only victory would do for them to grab the final last-16 qualification spot in the group behind Manchester United, and came out for the second half in all-out-attack mode.
Down the other end, however, Danjuma appeared to put the result beyond all doubt in the 51st minute with a fine goal on the turn, before substitute Ruslan Malinovskiy rifled home to give Atalanta hope 19 minutes from time.
Duvan Zapata scored again for Atalanta with a well-taken goal, but it was not enough as Villarreal secured second spot, four points ahead of the Italian side, who go into the Europa League