NYON, Switzerland (AP) — Barcelona will play Bayern Munich in the Champions League semifinals, pairing coach Pep Guardiola's past and current teams.

Guardiola, who spent four trophy-filled years at Barcelona, took over at Bayern in 2013.

In the other semifinal, defending champion Real Madrid will face Juventus, with the Italian champions playing at home first.

The four teams have combined to win the European Cup or Champions League 21 times, with 16 runner-up finishes, in the competition's 60-year history.

The first legs will be played on May 5-6, with the return matches on May 12-13. The final will be played on June 6 at the Olympic Stadium in Berlin.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.