Borussia Dortmund advanced to the Champions League final for the first time since 1997, withstanding a late rally by Real Madrid to win their semifinal on 4-3 aggregate following a 2-0 loss Tuesday night.
Karim Benzema scored in the 83rd minute and Sergio Ramos in the 88th, putting Real Madrid in position to advance with one more goal. English referee Howard Webb called for five minutes of stoppage time, and Borussia Dortmund hung on to set up the possibility of the first all-German final in soccer's top club competition.
Bundesliga champion Bayern Munich has a four-goal advantage on Barcelona ahead of Wednesday's game. The Champions League final is May 25 at London's Wembley Stadium.
Dortmund reached the final for the first time since 1997, when it beat Juventus 3-1 at Munich's Olympic Stadium for its only European title.
Madrid, which has not reached the final since winning its record ninth title in 2002, was eliminated in the semifinals for the third straight year. Trailing Barcelona by 11 points in the Spanish League with five games left, Real's only realistic hope for a title this season is when it hosts Atletico Madrid in the Copa del Rey final on May 17.
Real coach Jose Mourinho is expected to leave after his third season, perhaps to return to Chelsea in England's Premier League.
No team has overcome a three-goal deficit from the first leg in a Champions League knockout stage matchup since Deportivo La Coruna beat AC Milan 4-0 in the 2003-04 quarterfinals for a 5-4 aggregate win.