Lucas Moura came to Tottenham's rescue with a late equaliser to secure a dramatic 1-1 draw at Barcelona which sent them through to the Champions League last 16 at the expense of Inter.
Mauricio Pochettino's men needed to at least match Inter's result at home to PSV and they looked to be heading into the Europa League, but Lucas struck five minutes from time to turn the situation on its head and send Spurs through as Group B's other match also ended 1-1.
Liverpool fans display banners before the match.
Barcelona and Tottenham players during a minute's silence for former Barcelona president Josep Lluis Nunez.
A packed Anfield before kick-off.
Liverpool fans greet Mo Salah before the game.
Barcelona's Lionel Messi on the substitutes bench before the match.
Porto's Sergio Oliveira celebrates scoring their third and winning goal with Hector Herrera as Galatasaray's Yuto Nagatomo and team mates look dejected.
Edinson Cavani celebrates scoring PSG's opener in Belgrade.
Barcelona's Ousmane Dembele scores a stunning individual goal.
Barcelona's Ousmane Dembele celebrates his wonder goal.
Mo Salah puts the Reds ahead with a stunning effort.
Mo Salah toasts his strike.
Barcelona's Clement Lenglet and Tottenham Hotspur's Dele Alli (right) battle for the ball.
Mauro Icardi equalises for Inter against PSV to push Spurs towards to the Europa League.
Harry Kane shows his frustration as Spurs fail to put their chances away.
Harry Kane squares for Lucas Moura to give Spurs a precious equaliser.
Lucas Moura celebrates his goal with teammates.
Lucas Moura reacts to goal that could send Spurs into knock-out stages.
Erik Lámela gestures to the away fans after Spurs qualify.
Lionel Messi shakes hands with Harry Kane after the match.
Mo Salah of Liverpool takes off his shirt to present to a fan on the Kop.
Alisson Becker makes crucial save at the death from Arkadiusz Milik to deny Napoli crucial equaliser.
Jurgen Klopp celebrates triumph.
Jurgen Klopp embraces Mo Salah after win.
Discover More Like This
BACK TO SLIDE
In a week which he has been accused of turning up late to training, Ousmane Dembele seemed switched on earlier than anyone else with his seventh-minute opener.
Spurs crafted a host of chances after the break and, just when it looked as though they were never going to find a way past Jasper Cillessen, Lucas – a 71st-minute replacement for Son Heung-min – found the net to complete a great escape.