MONACO (AP) — Monaco withstood Arsenal's onslaught to reach the quarterfinals of the Champions League despite a 2-0 home defeat on Tuesday, advancing on the away goals rule after drawing 3-3 on aggregate.

Following a 3-1 humiliating defeat at the Emirates two weeks ago in the first leg of the last 16, Arsenal needed to score at least three times to become the first team in the history of the Champions League to progress after losing at home by a two-goal margin.

Olivier Giroud gave Arsenal some hope when he broke the deadlock in the 36th minute. Substitute Aaron Ramsey then ensured a nervy finish with a clinical finish into the bottom corner from Layvin Kurzawa's poor clearance in the 79th.

Arsenal dominated all aspects of the game at the Stade Louis II and overrun the best defensive team in Europe with a dazzling attacking display, in a complete contrast to their lackluster performance in the first leg.

Although Monaco managed only one shot during the first half, the 2004 runner-ups made it to the quarterfinals for the third time. There will be two French clubs in the last eight after Paris Saint-Germain ousted Chelsea from the tournament last week.

Despite their need for goals, the Gunners made a cautious start and let the hosts take control.

Monaco created the first chance after Anthony Martial got past a defender on the left side of the box to serve up a fine cross to Dimitar Berbatov, with the Bulgarian forward glancing the ball on for Joao Moutinho, who curled shot wide.

Monaco's bright opening spell did not last long, though, and Leonardo Jardim's players struggled until the final whistle.

Arsenal's first chance came in the 15th minute with a dangerous move that ended with a header from Giroud that brushed past the post.

A good block from Kurzawa then denied Santi Cazorla's acrobatic volley after Giroud turned in a cross from the left, and Laurent Koscielny struck the bar from a free kick flicked into his path, although the referee had flagged him offside.

Arsenal's efforts were finally rewarded when Danny Welbeck played a ball for Giroud behind the Monaco defense. The France striker was initally denied by 'keeper Danijel Subasic but was lucky to see the rebound fall for his right foot, and he made no mistake with a rising shot into the roof of the net.

Monaco's defense began to cave in, letting an unmarked Welbeck fire from the edge of the box two minutes later — only for the former Manchester United player's attempt to be blocked by Aymen Abdennour as he lay on the pitch.

The second half started at the same high tempo, with Monaco players struggling to cope with the pace and movement of Arsenal. Jardim added some fresh blood by bringing on Yannick Ferreira-Carrasco, who had scored Monaco's third goal in the first leg.

The decision paid off as the Belgian winger created Monaco's first chance in more than 30 minutes when he burst across the pitch in search of an opening and dribbled past two Arsenal players, only to fluff his shot from the edge of the box.

Ramsey made it 2-0 with 11 minutes left after substitute Theo Walcott's side-footed his shot against the post and Kurzawa sent the ball back to the Welshman, who arrowed his shot into the corner.

Subasic made another decisive save when he denied Alexis Sanchez's header and Monaco players parked the bus during the five minutes of stoppage time to end manager Arsene Wenger's perfect record against French clubs in two-legged ties.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.