Defending champions Liverpool reached the Champions League last 16 as Group E winners thanks to two second-half goals against Red Bull Salzburg.
The Reds, who needed at least a point to progress, were on the ropes at times against attacking opposition.
But from the moment Naby Keita headed in Sadio Mane's cross, there was only going to be one winner.
Mohamed Salah clinched victory 100 seconds later with an excellent finish from a tight angle.
Jurgen Klopp's side needed the three points to top the group because Napoli beat Genk 4-0.
The Reds will discover their Champions League last-16 opponents in Monday's draw in Nyon, Switzerland (11:00 GMT). Real and Atletico Madrid are both possible opponents.
Salzburg, who had scored 87 goals in 24 games before this, drop into the Europa League last 32. Their 19-year-old striker Erling Braut Haaland had chances to score but failed to become the first player to score in his first six Champions League appearances.