Inter Milan crashed out of the Champions League on Tuesday after 17-year-old Ansu Fati became the youngest scorer in the competition's history by firing in a late winner to give Barcelona a 2-1 victory at San Siro.

Barca coach Ernesto Valverde rested Lionel Messi and several other key players for the trip to Milan, having already secured top spot in Group F, but Carles Perez put the Spaniards in front on his Champions League debut after just 23 minutes before Romelu Lukaku’s strike levelled the scores on the stroke of halftime.

Inter striker Lautaro Martinez had the ball in the net twice after the break, only for both goals to be correctly disallowed for offside, before Fati smashed in a sublime finish inside the final five minutes.

The Italian side needed to at least match Borussia Dortmund’s result against Slavia Prague to maintain second place, but the Germans won 2-1 to move into the runner-up spot and consign Inter to a Europa League place.

Depay's late goal sent Lyon through

Elsewhere, Lyon had to come from behind against group-winners Leipzig to earn the point they needed to progress.

Dutch striker Memphis Depay found the back of the net eight minutes from full-time after Hassem Aouar's superb second-half goal had reduced the deficit. The Ligue 1 conceded two first-half penalties in a catastrophic start at the Groupama Stadium.

It was a bad night for Zenit St Petersburg, who were heading for the last-16 of the Champions League until Lyon scored their equaliser in the last ten minutes.

They ended up getting knocked out of European competition for the season after losing 3-0 to Benfica.