RB Leipzig recovered from conceding a stoppage-time equaliser to score a winner in the last minute of extra time as they beat Augsburg 2-1 on Tuesday to book their place in the German Cup semifinals.
Marcel Halstenberg scored with a penalty in the 120th minute after the game went to extra time thanks to Alfred Finnbogason's equaliser with the last kick of the game after 90 minutes.
Timo Werner had given the visitors the lead in the 74th minute with a well-placed shot from 18 metres after a quick break.
Earlier second division club Hamburg SV reached the last four with a 2-0 win over Paderborn courtesy of Pierre-Michel Lasogga's double strike.
Bayern Munich take on second tier Heidenheim on Wednesday when Schalke 04 host Werder Bremen in the other quarter-finals.