TOTTENHAM were thanking the football gods on Tuesday after getting a much-needed equaliser against Barcelona.
Lucas Moura's strike ensured they finished in second and ahead of Inter Milan, who had been held by already-eliminated PSV.
Who can Tottenham play in the last 16?
Finishing second means that Tottenham will have a difficult opponent in the next round, as they will be drawn against one of the group winners.
They will not face Barcelona as they were in Group B with them, while fellow English teams cannot be pitted against each other until the quarter-finals.
But they will have to face Lucien Favre's rejuvenated Borussia Dortmund - a side that includes England young talent Jadon Sancho.
The first match will be played at Anfield, while the return leg will be at Westfalenstadion.
When are the remaining Champions League matches?
12/13 and 19/20 February: Round of 16 first leg
5/6 and 12/13 March: Round of 16 second leg
15 March: Quarter-final and semi-final draw
9/10 April: Quarter-finals first leg
16/17 April: Quarter-finals second leg
30 April/1 May: Semi-finals first leg
7/8 May: Semi-finals second leg
1 June: Final (Estadio Metropolitano, Madrid)
Watch the moment Tottenham players and fans find out they are through to the knockout phase of the Champions League after late Barcelona draw