Jack Harrison scored his first career hat-trick as Leeds United avenged last week's FA Cup defeat with a thrilling Premier League victory over West Ham at London Stadium.
The visitors, who lost 2-0 seven days ago, were pegged back twice before Harrison scored the pick of his three goals with a neat chip over Lukasz Fabianski as Leeds made it consecutive league wins for the first time this season.
"This was a typical Premier League game," said Leeds boss Marcelo Bielsa. "It was good that it went in our favour but the margin was very close.
"It is a triumph for the players because of the effort they put in. The desire to win was very, very big."
Harrison opened the scoring with a fierce strike in the 10th minute but West Ham recovered from their lacklustre start to equalise through the in-form Jarrod Bowen.
Leeds took the lead again before the interval as Harrison sneaked in at the back post to convert off his thigh from Luke Ayling's downward header following a corner.
Pablo Fornals scored his first goal since November to draw the Hammers level for a second time in the 52nd minute, but Harrison sealed victory eight minutes later.
Bowen, who had earlier scored his fourth goal in three games, missed a golden chance in the final seconds to draw the hosts level as he could only chest the ball over the bar from a few yards when unmarked.