Teenager Ansu Fati became the youngest goalscorer in Champions League history as Barcelona ended Inter Milan’s hopes of reaching the last 16.
Fati, 17, came on as an 85th-minute substitute, and a minute later scored from Luis Suarez’s pass.
Barcelona, already qualified, took the lead through Carles Perez’s close-range goal on his Champions League debut.
Romelu Lukaku equalised with a low 25-yard strike but Fati’s late winner consigned Inter to the Europa League.
“I played the give and go with Luis and when I scored the stadium just went silent. I’m super-happy,” said Fati, who has represented Spain at under-21 level.
“It’s a dream. Everything seems to be going at high speed. I just have to take every opportunity I’m given. But here, you look around and think: ‘what have I done’?”
Barcelona boss Ernesto Valverde praised the striker’s finishing ability and said: “Ansu is a born scorer and although he’s had some niggling pain, we wanted him to have some minutes.
“That it’s a Barca lad who’s the youngest ever scorer in this competition delights us.”