West Ham soared into the top half after goals from Robert Snodgrass, Javier Hernandez and a Felipe Anderson beauty sank Crystal Palace 3-2.
The Hammers, rock-bottom after losing their first four matches of the season, have now won three on the spin, scoring three goals in each.
Frank Lampard was in the West Ham side the last time they managed that feat. Frank Lampard senior, that is, in 1982.
They had to come from behind, though, after James McArthur put struggling Palace into a surprise sixth-minute lead.
James Tomkins headed Patrick van Aanholt's free-kick into the danger area and McArthur beat Hammers keeper Lukasz Fabianski to the ball before prodding it home.
It was a frustrating first half for the hosts, with a lightweight strike duo of Hernandez and Lucas Perez spending most of it bouncing off the immovable Mamadou Sakho.
Perez, starting his first Premier League match for West Ham in the absence of Marko Arnautovic and fresh from his two-goal cameo against Cardiff, did have one chance to equalise but volleyed across goal and wide
Yet it was Palace, in between spells of timewasting that went unpunished, who came closest to scoring a second with Luka Milivojevic hitting the crossbar with a free-kick from 25 yards out.
Perez was hauled off at half-time with Andy Carroll summoned from the bench to add some brawn in attack.
And within three minutes of the restart West Ham were level, Snodgrass curling into the top corner from the edge of the penalty area.
It was the first Premier League goal of his West Ham career for the Scottish midfielder, who was farmed out on loan to Aston Villa last season but has been one of the Hammers' best performers this term.
The hosts took the lead in the 62nd minute, after Carroll had drawn a foul 30 yards out.
Anderson fired the free-kick goalwards and when Wayne Hennessey palmed the ball out Hernandez was on hand to fire into the roof of the net.
Two minutes later record-signing Anderson scored an exquisite third, bending the ball around Hennessey and into the corner for his sixth of the season.
Palace, by now eager to get the ball back in play, pulled one back through sub Jeffrey Schlupp with 14 minutes left.
But while West Ham held on to maintain their upward curve it is now just one win in 10 matches for Roy Hodgson's Palace and the relegation zone becoming a little too close for comfort.