Jurgen Klopp managed to have the last laugh over Pep Guardiola as ten-man Borussia Dortmund defeated Bayern Munich in the semifinal of the DFB-Pokal (German Cup) on penalties following a 1-1 draw.
Robert Lewandowski managed to put Bayern ahead just before the half hour mark, but Dortmund found the leveller through Pierre-Emerick Aubameyang with 15 minutes remaining on the clock.
After neither side could find the winner in extra time, the match proceeded to penalties, where Dortmund emerged victorious after four Bayern players failed to convert their respective spotkicks.
Bayern started off the match well as they dominated possession and restricted Klopp's men to their own defensive third.
Their efforts soon bore fruit as Lewandowski found the net against his former club for a third successive time to put the Bavarians ahead in the 29th minute.
Shinji Kagawa's poor pass near Bayern's box was intercepted by Medhi Benatia, who immediately sent a long ball towards the Poland striker at the other end. Lewandowski's initial lofted effort over the goalkeeper was denied by the woodwork, but he slotted the ball home from the rebound to give Bayern a well-deserved lead.
Nothing much noteworthy happed in the remainder of the first half and the game went in to the interval with the score reading 1-0 in Bayern's favour.
The Bavarians continued their dominance after the break as Dortmund goalkeeper Mitchell Langerak made a very good near-post save to deny Thomas Muller from doubling his side's advantage in the 48th minute.
Lewandowski again struck the crossbar in the 56th minute, before Bayern's appeal for a penalty was turned down by the referee even though Marcel Schmelzer appeared to have handled the ball while trying to prevent Muller from scoring from the rebound.
Arjen Robben, who had been on the sidelines for five weeks, was introduced in the 68th minute to boost Bayern's attack, but it was Dortmund who found the equaliser after seven minutes through Aubameyang.
Henrikh Mkhitaryan sent a good low cross across the face of the goal and Aubameyang was able to slide the ball home despite Manual Neuer's best efforts to keep it out.
Marco Reus nearly grabbed the winner for Dortmund in the closing stages of the match, but Neuer made a fantastic fingertip save to deny the midfielder and force the game into extra time.
Bayern had a good chance to go ahead in the early minutes of the first half of extra time, but an unmarked Bastian Schweinsteiger was unable to hit the target as he headed over Xabi Alonso's freekick.
Dortmund's task was made more difficult in the 108th minute after midfielder Kevin Kampl was given his marching orders following a second yellow for a poor challenge on Schweinsteiger.
Bayern seemed destined to book their place in the German Cup final after Schweinsteiger headed from six yards following an excellent cross from Boateng. But Langerak made a superb save to keep out the midfielders effort with his legs, forcing the game into penalties.
The shootout proved to be a sordid affair for Guardiola's side as Philipp Lahm, Xabi Alonso, Mario Gotze and Neuer all missed their penalties, and İlkay Gundogan and Sebastian Kehl's spotkicks proved to be enough to send Dortmund through.