Inter Milan struck late to put themselves in a strong position to advance into the Champions League semi-finals after winning the first leg of their last-eight tie at Bayern Munich.
The German hosts dominated the opening half hour with England captain Harry Kane curling an effort against the right-hand post, but they fell behind to Inter's first shot on target.
The Serie A leaders scored a fine goal at the end of an excellent team move in the 38th minute.
Marcus Thuram showed great skill to jump and flick the ball into Lautaro Martinez's path with the Argentine striker firing his effort with the outside of the boot into the roof of the net.
However, substitute Thomas Muller levelled in the 85th minute with a goal that looked to have saved Bayern from defeat.
The 35-year-old announced last week he would be leaving in the summer, ending a 25-year association with the club, and he finished from close range after Konrad Laimer's low cross.
But there was to be another twist with just two minutes left.
Inter quickly broke up field and Carlos Augusto's cross was converted by substitute Davide Frattesi to ensure the Italians would leave Germany with a crucial advantage.
Defeat also ended Bayern's 22-match unbeaten home run in the Champions League, dating back to 2021.
The second leg at the San Siro takes place on Wednesday, 16 April with the overall winners going on to play either Barcelona or Borussia Dortmund in the two-legged semi-final.
Bayern's Allianz Arena will stage the final on 31 May.
Match Events
38' GOAL! Lautaro laces a stunning strike into the top corner! Bayern 0-1 Inter
85' GOAL! Muller is there at back post to finish from close range! Bayern 1-1 Inter
88' GOAL! Bayern 1-2 Inter (Davide Frattesi)
Line-ups
Bayern XI: Kane, Guerreiro, Goretzka, Dier, Kimmich, Sane, Laimer, Min-jae Kim, Stanisic, Olise, Jonas Urbig
Subs: Muller, Gnabry, Palhinha, Peretz, Boey, Gabriel Vidovic, Jonathan Asp Jensen, Jonah Kusi-Asare, Leon Klanac, Lennart Karl
Inter XI: Sommer, Darmian, Mkhitaryan, Acerbi, Calhanoglu, Barella, Thuram, Pavard, Lautaro, Bastoni, Carlos Augusto
Subs: Arnautovic, De Vrij, Di Gennaro, Dimarco, Frattesi, Josep Martínez, Yann Bisseck, Nicola Zalewski, Thomas Berenbruch, Giacomo De Pieri, Mattia Zanchetta, Gabriele Re Cecconi
Setbb
88
What is underrated
Answer= Lautro matinez
Iffy106
73
Inter Milan fans to haters right now
malablata
56
Did anyone watch this match? I probably thought the entire world was watching Arsenal drag Madrid.
Barca99Arg
38
Argentine players are performing superbly in their respective clubs. At least Muller won't say "Barcelona will pay for it" 🤣😂🤣
Balcombe
34
GIF GIF GIF!: http://www.goalgif.xyz/v2/live/matchGifs?match_id=54095510&language=en
Josedad
33
Inter Milan has the most fearsome team in the Champions League this season from the goal to the front 2️⃣
Wizprince11
30
You can't beat Inter Milan (Nerrazuri) with the Way you're playing in the league you need to do extra work to break the defence
gudiest01
30
Inter Milan should not be underestimate in this champions league
The_Real_Baggio
26
Can this be the season Luataro redeems his Balon dor
BizouMbi
25
What a night for FC Barcelona fans. Real Madrid and Bayern Munich lost their games. Our enemies shall be put to shame.😅😅😅
Yadadlnrt
10
Until Inter Milan meet Barcelona I don’t think anyone can stop them