Crystal Palace snatched victory at West Ham as Jordan Ayew had an 87th-minute goal awarded by the video assistant referee at the London Stadium.
The strike was initially ruled offside by the linesman after Ayew stabbed in from Martin Kelly's header but the decision was overturned after a lengthy VAR review.
Sebastien Haller had given West Ham the lead when he swept home.
But Palace equalised through Patrick van Aanholt's penalty before Ayew's goal secured all three points.
The win moved Roy Hodgson's side into the top four of the Premier League while ending West Ham's six-game unbeaten run.
Jordan has scored three goals in seven league games so far this season.