West Ham pushed their top-four credentials as they thrashed 10-man Aston Villa to condemn them to a fourth consecutive Premier League defeat.
The result leaves David Moyes' side level on points with third-placed Manchester City in fourth, while Villa remain 15th, three points above the bottom three.
Ben Johnson opened the scoring for the visitors with a low drive into the bottom left corner from 18 yards after being picked out by Declan Rice's cross-field pass.
And Rice drove into the same corner to restore the Hammers' lead after Ollie Watkins had swept home an equaliser following good work from Emiliano Buendia near the byline.