Joel Matip headed in an 89th-minute winner as Liverpool beat Ajax Amsterdam 2-1 in their Champions League Group A match at Anfield on Tuesday.
Mohamed Salah fired the home side ahead in the 17th minute after being picked out by Diogo Jota, the Egyptian beating Ajax keeper Remko Pasveer with a trademark finish.
But the lead lasted just 10 minutes before Ajax pulled level with a stunning strike from Mohammed Kudus who worked himself some space in the box before hammering the ball into the top corner.
Liverpool enjoyed the bulk of pressure after the break but Ajax fullback Daley Blind wasted a great chance to put the Dutch side ahead when he was left unmarked at the back post but headed wide.
Substitute Darwin Nunez should have won the game for Liverpool in the 83rd minute after he was slipped in by Salah but the Uruguayan striker scuffed his shot wide from a great position inside the box.
A deflected effort from Salah then struck the post before, from the resulting Kostas Tsimikas corner, Matip rose to head in the winner.
Liverpool had lost their opening game in the group 4-1 at Napoli.
Bayern beat Barca 2-0 to spoil Lewandowski’s return to Munich
Bayern Munich scored twice in four minutes against the run of play through Lucas Hernandez and Leroy Sane to beat Barcelona 2-0 in their Champions League Group C match on Tuesday.
It was an unhappy return to Munich for Barca striker Robert Lewandowski, who left the Bavarians in the summer after eight years, with the Germans now top of their group on six points from two matches.
Barcelona are on three points, along with Inter. Viktoria Plzen are in last place.
Barcelona were dominant for 50 minutes and have only themselves to blame for not taking the lead, with Lewandowski coming close twice and Pedri and Gavi also missing golden chances.
Viktoria Plzeň (0) 0 Internazionale (1) 2
Sporting CP (0) 2 Tottenham Hotspur (0) 0
Liverpool (1) 2 Ajax (1) 1
Bayern München (0) 2 Barcelona (0) 0
Porto (0) 0 Club Brugge (1) 4
Bayer Leverkusen (0) 2 Atlético Madrid (0) 0
Olympique Marseille (0) 0 Eintracht Frankfurt (1) 1