Barcelona have crashed out of the Champions League following a 3-0 defeat at Bayern Munich, failing to make it past the group stage of the competition for the first time since the 2000-01 season.
First-half goals from Thomas Mueller and Leroy Sane put the Germans, who won all six matches to top Group E, firmly in the driving seat before Jamal Musiala tapped in the third just past the hour.
Barcelona had advanced to at least the round of 16 every time they competed in the Champions League since 2001, but will now continue in the second tier Europa League after ending up third in the group.
Benfica qualified as group runners-up with a win over bottom club Dynamo Kyiv.
Barca, who failed to create a goal-scoring chance in the second half and scored just twice in six group games, have lost their last two matches in all competitions following new coach Xavi's first defeat in charge of the side by Real Betis last weekend.
Elsewhere, Chelsea drew 3-3 at Russian side Zenit to qualify second behind Juventus in Group H - a win would have been enough for top spot.
And Manchester United were held 1-1 at home by Swiss club Young Boys but had already advanced through to the round of 16 as group winners.
Reuters