Barcelona advances to 1st Champions League final since 2011, will face Juventus or Real Madrid

Barcelona's Neymar scores his side's opening goal during a Champions League semi final second leg soccer match between Bayern Munich and FC Barcelona in Munich, Germany, Tuesday, May 12, 2015. (Tobias Hase /dpa via AP) (The Associated Press)

Barcelona's Neymar celebrates after scoring his side’s first goal during the soccer Champions League second leg semifinal match between Bayern Munich and FC Barcelona at Allianz Arena in Munich, southern Germany, Tuesday, May 12, 2015. (AP Photo/Matthias Schrader) (The Associated Press)

Barcelona advanced to the Champions League final for the first time since 2011, getting a pair of Neymar goals and cruising to a 3-2 loss at Bayern Munich on Tuesday night for a 5-3 aggregate victory in their semifinal matchup.

Seeking its fifth European title, Barcelona will play defending champion Real Madrid or Juventus at Berlin on June 6. Real tries to overturn a 2-1 deficit in Wednesday's semifinal.

Trailing after a 3-0 loss at Barcelona last week, Bayern went ahead when Medhi Benatia scored on a header off a corner kick in the seventh minute.

Neymar scored four minutes later, and the away goal meant Bayern needed a four-goal victory to advance.

Neymar's second goal put Barcelona ahead 2-1 in the 29th, and Bayern got goals from Robert Lewandowski in the 59th and Thomas Mueller in the 74th.

Bayern coach Pep Guardiola, who coached Barcelona to 14 titles from 2008-12, exchanged an extended hug with current Blaugrana coach Luis Enrique after the final whistle.