Callum Wilson grabbed a priceless stoppage-time winner as West Ham kept their heads above the relegation zone with a 2-1 victory over Everton, as Tottenham Hotspur dug out a massive win of their own at Wolves.
Kiernan Dewsbury-Hall's late equaliser, which cancelled out Tomas Soucek's header, looked to have swung the survival battle Spurs' way moments after they had taken the lead at Molineux.
It was a goal which briefly dropped West Ham below Spurs and back into the bottom three.
But substitute Wilson, who had scored eight goals in his previous seven appearances against Everton, struck two minutes into time added on to keep the Hammers two places above their London rivals.
It was a hammer blow for David Moyes, making his first return to the London Stadium since he left two summers ago and on his 63rd birthday.
The reunion brought up his 750th match as a Premier League boss, but their bid to qualify for Europe took a dent with a dramatic late defeat.
Meanwhile Joao Palhinha's 82nd-minute tap-in earned Tottenham a first Premier League win of 2026 but they remain in the relegation zone.
Spurs looked set for a painful afternoon at Molineux after Dominic Solanke and Xavi Simons were forced off due to injury until Roberto De Zerbi watched Palhinha slide in at the back post from a scuffed
Richarlison shot to secure a first league success in 16 matches.
It momentarily took Tottenham out of the bottom three, but that late winner for West Ham has kept the gap to two points with only four games left.