Holders Barcelona kept their hopes of progressing to the knock-out stages alive with a 2-0 victory over Levski Sofia in Bulgaria.
Chelsea, already through, did their Catalan rivals no favours by losing 1-0 to Werder Bremen to leave Barca needing victory over the Germans in their final match to progress from Group A.
Ludovic Giuly opened the scoring for Barca after five minutes when Levski failed to clear Gianluca Zambrotta's cross from the right.
The home side threatened to equalise but Andres Iniesta's strike after 65 minutes ended their hopes of salvaging something from the match.
While Liverpool wrapped up top spot with victory over PSV Eindhoven, Bordeaux beat Galatasaray 3-1 as they look to secure a UEFA Cup spot via third place.
Alejandro Alonso broke the deadlock before former Sunderland striker Lilian Laslandes and Julien Faubert added goals early in the second half.
Former Arsenal and West Brom midfielder Junichi Inamoto pulled one back for the Turkish side.
Two goals from Claudio Pizarro were not enough to ensure Bayern Munich top spot in Group B after they were held by Spartak Moscow.
Bayern needed a victory in Russia to ensure they could not be caught by either Inter Milan or Sporting Lisbon but Spartak kept their hopes of qualifying for the UEFA Cup alive with a brave display.
Maxim Kalinichenko's first Champions League goal gave the hosts an early lead before Pizarro put Bayern on course for an away victory with two superb strikes, only for Radoslav Kovac to equalise with just over 10 minutes remaining.
Hernan Crespo's first-half goal gave Inter a vital 1-0 win over Sporting Lisbon at the San Siro.
Roma's 1-0 defeat by Shakhtar Donetsk means they could find themselves out of the Champions League depending on the last round of Group D matches.
Ciprian Marica headed the winner for the Ukrainian side shortly after the hour mark which means the Italians must beat Valencia - who are already through - in the final group game.
Valencia enjoyed a comfortable 2-0 victory over Olympiacos courtesy of goals by Miguel Angulo and Fernando Morientes.