Liverpool came from a goal down to win at West Ham and boost their hopes of securing European football next season.
The Hammers took a 12th-minute lead when Lucas Paqueta, after playing a one-two with Michail Antonio, fired from 20 yards out past Liverpool goalkeeper Alisson.
But the advantage lasted less than six minutes before Cody Gakpo equalised with his own shot from outside the penalty area.
West Ham thought they had gone back in front with Jarrod Bowen's angled strike but the England forward was ruled offside by the video assistant referee to keep it at 1-1.
An unmarked Joel Matip scored what proved to be the winner in the 67th minute with a powerful header from Andy Robertson's corner from the left.
There was a late scare for Liverpool when Thiago handled in the penalty area, with Hammers boss David Moyes furious that a decision was not awarded by either on-field referee Chris Kavanagh or Neil Swarbrick on video assistant referee duty.
At the final whistle Moyes confronted Kavanagh, still angry at the decision that cost his side an opportunity to earn a point.
Liverpool still hoping to salvage something from difficult campaign
It has been a tough season for Liverpool, who came second in 2021-22, losing out to Manchester City by one point as the title race went to the final day of the season.
They went out of both the FA Cup and Carabao Cup, competitions they won last season, at the fourth-round phase and were hammered 6-2 on aggregate by Real Madrid in the last 16 of the Champions League.
Therefore, to miss out on European football altogether would be a massive setback for Jurgen Klopp's side.
They may have to settle for the Europa League at best and will need to finish fifth or sixth to qualify for the second-tier European competition, while seventh would leave them in the play-offs for the third-tier Europa Conference League.
This win takes them sixth and above Tottenham on goal difference, although Champions League football looks beyond the Reds as they are six points behind third-placed Newcastle and Manchester United in fourth, with both sides having at least one game in hand.
West Ham miss chance to secure Premier League survival
After West Ham's 4-0 thrashing of Bournemouth at the weekend, Antonio said they needed one victory to be assured of staying in the Premier League.
The Hammers made a bright start at London Stadium as Paqueta got the game's first goal.
But the Reds, with Trent Alexander-Arnold excelling in a dual role - at right-back but with the freedom to move into midfield when Liverpool were in possession - levelled soon afterwards.
Diogo Jota could have made it 2-1 and should have done better when the ball rebounded into his path but shot over the top, and he also glanced a header just wide from four yards out.
However, West Ham had further first-half chances too. Liverpool's Virgil van Dijk denied Antonio a certain goal from close range with a crucial interception following Said Benrahma's angled ball.
The resulting corner did fall to Antonio but the Jamaica striker could only glance his header off target.
In the second half, Matip, who started in place of the injured Ibrahima Konate, had an effort blocked on the line by Lukasz Fabianski but then scored shortly afterwards with a powerful header when unmarked from a corner.
West Ham had opportunities to score an equaliser, but Tomas Soucek headed over and Bowen had a low strike saved as Liverpool held on for their third win in a row.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
3 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
3 hours -
Duct-taped banana artwork sells for $6.2m in NYC
3 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
3 hours -
Actors Jonathan Majors and Meagan Good are engaged
3 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
3 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
3 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
4 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
4 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
4 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
4 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
4 hours -
Netflix debuts Grain Media’s explosive film
5 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
5 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
6 hours