Olympiakos beat Group F winners Arsenal 3-1 here on Tuesday but failed to qualify for the last 16 following Marseille's victory over Dortmund.

It was a heartbreaking evening for the Greek side who, having scored their third goal with a minute left, heard that Marseille, who netted in the 85th and 87th minutes, had overturned a 2-0 deficit to win 3-2 in Germany.

Goals from Rafik Djebbour and David Fuster gave Olympiakos a 2-0 lead at the break before Yossi Benayoun pulled one back for the Gunners.

But in the 89th minute Olympiakos sealed victory when, defender Olof Mellberg's header hit the post and Francois Modesto followed up to score.