Liverpool-bound midfielder Naby Keita was sent off for the third time in seven games as Bayern Munich beat RB Leipzig on penalties in the German Cup.
Keita, 22, has agreed to join Liverpool for a club-record fee next summer and was sent off early in the second half.
Leipzig took the lead when Emil Forsberg scored a penalty but Thiago levelled for the 18-time winners.
Bayern scored all of their penalties, with Sven Ulreich saving from Timo Werner to put them through.
Bayern - who last won the trophy in 2016 - have won a record 24 away games in a row in the competition, with manager Jupp Heynckes winning the trophy as part of his treble in 2013.
Leipzig's Keita was shown a second yellow card in the 53rd minute for pulling back Robert Lewandowski. He was also sent off against Borussia Monchengladbach last month, and for Guinea against Tunisia in World Cup qualifying at the start of October.
Elsewhere in the German Cup, there were wins for Cologne, Stuttgart and Werder Bremen.
Line-ups
RB Leipzig
Formation 4-2-2-2
- 32Gulácsi
- 3Bernardo
- 4Orban
- 5Upamecano
- 23Halstenberg
- 44Kampl
- 8KeitaBooked at 53mins
- 7SabitzerSubstituted forLaimerat 102'minutes
- 10ForsbergSubstituted forKlostermannat 109'minutes
- 9PoulsenSubstituted forWernerat 80'minutes
- 29AugustinSubstituted forDemmeat 57'minutes
Substitutes
- 6Konaté
- 11Werner
- 16Klostermann
- 24Kaiser
- 27Laimer
- 28Mvogo
- 31Demme
Bayern Munich
Formation 4-2-3-1
- 26Ulreich
- 32KimmichBooked at 86mins
- 17BoatengBooked at 22mins
- 5Hummels
- 27Alaba
- 24TolissoSubstituted forFerreira de Souzaat 88'minutes
- 23VidalBooked at 35minsSubstituted forRudyat 57'minutes
- 10Robben
- 6Thiago AlcántaraBooked at 95minsSubstituted forWriedtat 101'minutes
- 29ComanSubstituted forMartínez Aguinagaat 60'minutes
- 9Lewandowski
Substitutes
- 4Süle
- 8Martínez Aguinaga
- 13Ferreira de Souza
- 19Rudy
- 22Starke
- 28Wriedt
- 34Friedl
- Referee:
- Felix Zwayer
- Attendance:
- 42,558
Match Stats
- Possession
- Home33%
- Away67%
- Shots
- Home9
- Away25
- Shots on Target
- Home5
- Away8
- Corners
- Home1
- Away9
- Fouls
- Home16
- Away29