Bayern Munich clinched their place in the Champions League knockout stages with a come-from-behind 4-1 victory over Juventus which saw the Italians eliminated.
Bayern joined Bordeaux in progressing from Group A, while fellow former champions AC Milan and Real Madrid progressed from Group C after Marseille failed to win at home to the Spaniards.
CSKA Moscow, subject to a UEFA disciplinary meeting over two players failing drug tests, joined Manchester United in the knockout stages from Group B, while Group D — already decided prior to last night's final preliminary-round matches — saw Chelsea and FC Porto progress.
Bayern earned the win at Juventus despite the Serie A side taking an early lead in Turin through David Trezeguet.
Bayern goalkeeper Hans-Jorg Butt levelled from the penalty spot and Ivica Olic put the visitors in front seven minutes into the second half before late goals from Mario Gomez and Anatoliy Tymoschuk sealed the German side's progression — and perhaps saved coach Luis van Gaal's job — to leave Juventus with the consolation of a Europa League place.
Group A winners Bordeaux remained unbeaten with a fifth win from six games, Jussie scoring the only goal in the 1-0 victory away to Maccabi Haifa.
Milan progressed from Group C despite an unconvincing performance in the 1-1 draw at FC Zurich, as Real Madrid won 3-1 in Marseille. Milan Gajic's wonderful first-half free-kick was cancelled out by Ronaldinho's second-half penalty after Alain Rochat was dismissed for a professional foul for the Rossoneri to finish as group runners-up.
Madrid progressed with four wins from six games, with Cristiano Ronaldo scoring twice and Raul Albiol netting a third in the win at the Stade Velodrome. Lucho Gonzalez scored for Marseille but also missed a penalty.
CSKA Moscow advanced from Group B behind Manchester United after posting a last-gasp 2-1 win over Besiktas.
With United defeating Wolfsburg 3-1 in the other Group B fixture, a point would have been enough for the Russians to progress, but as it was goals from Milos Krasic and Eugeni Aldonin ensured Leonid Slutsky's troops went through as clear runners-up. Michael Owen grabbed a hat-trick as United overcame the absence of 14 players to record a memorable win over German champions Wolfsburg.
Chelsea had already won Group D and drew 2-2 against APOEL. FC Porto, already through as runners-up, won 3-0 at Atletico Madrid, with Bruno Alves, Falcao and Hulk on target.