Arsenal produced a remarkable second-half turnaround to beat West Ham 3-1 to hand manager Freddie Ljungberg his first win since taking over from Unai Emery and break the team's nine-game winless run across all competitions.
West Ham dominated proceedings throughout the opening 45 minutes and scored a deserved first goal just before half-time when Andrea Ogbonna's header from a Pablo Fornals cross took a deflection and found its way into Bernd Leno's net.
Arsenal continued to look lethargic in the second half, but managed to get back on level terms in the 60th minute as Gabriel Martinelli blasted home from 12 yards away with the visitors' first shot on target in the game.
The goal was Martinelli's first in the Premier League, but the 18-year-old has had success at Arsenal since joining in the summer, scoring eight times in seven starts in all competitions.
Arsenal looked energised after netting the equaliser and went ahead soon after with a nice individual effort from Nicolas Pepe, who cut to his left inside the West Ham penalty area and curled a shot in at the far post to make it 2-1.
Pepe turned provider moments later from a similar position, lofting the ball over the West Ham backline for Pierre-Emerick Aubameyang to redirect home with his first touch to put Arsenal two goals to the good.
Ljungberg's team saw out the result to move back into the top 10 in the Premier League on goal difference.
"It means so much for the players. They have been living under enormous pressure and you see it in their performances," said Ljungberg.
"You can see the players have been a bit low and you see in the dressing room the relief and how happy they are. We enjoy tonight and we continue working tomorrow. We have to work on our belief -- that was the difference."
Meanwhile, West Ham and under-pressure manager Manuel Pellegrini find themselves stuck at the wrong end of the table, but the former Manchester City boss said he was sure he could turn the club's fortunes around.
"The pressure for me is exactly the same if we win or lose. When you don't have results things are more difficult. If I had not seen the team play the way they did in the first 65 minutes, I might have doubts," Pellegrini said. "For 60 minutes there was just one team on the pitch. But football can be like this.
"We made mistakes in moments of defending. The problem was a lack of patience and quality to decide the game with a second goal and we made important mistakes in defence."