There were new floodlights at Elland Road but the shine has worn off Leeds United on their own patch.
It is now five without a win here for Marcelo Bielsa’s side and they were deservedly beaten by David Moyes’ visitors, who climbed to fifth thanks to Angelo Ogbonna’s 80th-minute winner.
Mateusz Klich gave them an early lead from the penalty spot but only after a retake when Lukasz Fabianski was adjudged to have moved from his goal-line. It was terribly harsh.
But West Ham recovered to claim a fourth victory in five and centre-back Ogbonna was the match-winner when he rose to flash home from Aaron Cresswell’s wicked free-kick.