Olivier Giroud scored for both teams as below-par Arsenal battled past Sunderland to end a run of three Premier League games without a win.
Arsenal were poor for long periods, but led when Joel Campbell finished from a Mesut Ozil through ball.
Sunderland deservedly levelled through a free-kick that Giroud deflected into his own net, but Giroud made amends with a header from virtually the same spot, before Aaron Ramsey scrambled a late third.
Sunderland, who could be dragged back into the relegation zone depending on the results of Bournemouth and Newcastle, can rightly feel hard done by after a performance of both disciplined defence and incisive attacking play.
Arsenal were hampered by the absence of both Santi Cazorla and Alexis Sanchez and looked ponderous going forward, while a shaky defence was indebted to the excellence of goalkeeper Petr Cech.
Still, they climb to second in the Premier League, two points behind leaders Leicester.
Giroud’s performance was almost Arsenal in microcosm – the own goal an error caused by Sunderland pressure, but ultimately enough quality to secure a victory that was barely deserved.
A lacklustre first-half display looked set to be behind the Gunners when Campbell finished a seven-pass move underneath the on-rushing Costel Pantilimon.
But they were ahead for only 12 minutes as the impressive Duncan Watmore won a free-kick on the left that was swung in by Yann M’Vila and accidentally steered home by the leg of Giroud.
Arsenal showed little sign of improving in the second half, but, as in the first, one flowing move was enough to cut through an otherwise organised Sunderland defence.
Nacho Monreal was heavily involved as Arsenal came down the left, with Giroud stooping to head Ramsey’s cross into the same part of the net he erroneously found in the first half.
The third, in the dying moments, was harsh on a Sunderland team looking for an equaliser. With visiting defenders outnumbered, Ramsey pounced to leave a scoreline that did not reflect the contest.