Virgil van Dijk scored Liverpool's sixth stoppage-time winner against Everton in the Premier League era as Arne Slot's side snatched a 2-1 win in the first ever Merseyside derby at the Hill Dickinson Stadium.
Arne Slot's side were second-best in the opening half an hour but went ahead through Mohamed Salah moments after Iliman Ndiaye had a goal ruled out for offside by VAR.
Beto's equalizer had the hosts on the front foot again, but it was Liverpool who claimed all three points and boosted their chances of Champions League qualification.
Liverpool came into this one on the back of just one win in their last four league games, although that did come last weekend against Fulham as goals from Rio Ngumoha and Mohamed Salah gave Slot's side a relatively comfortable 2-0 victory.
Everton have struggled at home this season but had started to turn things around following an impressive 3-0 win over Chelsea in their last game at the Hill Dickinson Stadium. A brace from Beto and a third from Iliman Ndiaye proved the difference that day.
Nonetheless, that is now their only victory in their last four, as it was sandwiched between a 2-0 loss at Arsenal and a 2-2 draw with Brentford. In the latter, Kiernan Dewsbury-Hall's equalizer in the first minute of stoppage time was enough to snatch a point.
Arne Slot has now won three out of his four Merseyside derbies, having drawn his only other trip to Everton thanks to a stunning stoppage-time volley from James Tarkowski last season.
