Pierre-Emerick Aubameyang's stunning free-kick helped 10-man Arsenal come from behind to beat Aston Villa in a pulsating encounter at Emirates Stadium.
Aubameyang curled home his seventh goal of the season with six minutes remaining to complete a remarkable turnaround for the Gunners, who had Ainsley Maitland-Niles sent off after 41 minutes.
John McGinn flicked home Anwar El Ghazi's cross to put Villa ahead after 20 minutes before Maitland-Niles was shown a second yellow card.
Arsenal levelled early in the second period thanks to Nicolas Pepe's first goal for the club from the penalty spot only for Wesley to restore Villa's lead from Jack Grealish's low cross less than two minutes later.
But in a thrilling conclusion, substitute Calum Chambers' close-range finish brought the Gunners level on 81 minutes before Aubameyang's late strike secured their third Premier League win of the season to lift Unai Emery's side back into the top four.
The result was harsh on Villa, who impressed for long periods but paid the price for dropping far too deep in the closing stages and inviting Arsenal pressure. A fourth defeat from six league games means they remain in the bottom three.