(CNN) -- Holders Bayern Munich have crashed out of the German Cup, losing 4-2 at Bundesliga rivals Bayer Leverkusen in Wednesday's quarterfinals.
Tranquillo Barnetta opens the scoring for Leverkusen, as they sent Bayern Munich crashing out of the German Cup.
After a goalless first half, the match sprang to life in the 54th minute when Tranquillo Barnetta opened the scoring with a shot that went in off the far post.
Arturo Vidal doubled the home side's advantage seven minutes later when heading home a Barnetts corner and the match looked over as a contest in the 70th minute when Patrick Helmes converted a low cross from Michael Kadlec.
However, two minutes later Lucio took advantage of an error from goalkeeper Rene Adler to pull a goal back for Bayern. Then, in the 74th minute, Miroslav Klose's close-range header from Franck Ribery's cross made it 3-2.
Bayern streamed forward looking for an equalizing goal, but all their efforts came to nothing and, in the second minute of injury time, Stefan Kiessling secured the victory when netting after a mistake from defender Martin Demichelis.
The defeat deepens the crisis at Bayern. Last year's double winners have now won just once in five matches, slipping to fifth place in the Bundesliga in the process.
In the other quarterfinals played on Wednesday, there was a thriller at Wolfsburg where the high-flying hosts were trounced 5-2 by Werder Bremen. Diego and Mesut Oezil gave Werder a two-goal lead inside the first six minutes of the game, with on-loan Chelsea striker Claudio Pizarro having a hand in both goals.
But Edin Dzeko pulled one back in the 10th minute -- and the same player tied the game shortly before halftime.
But Diego, who played a role in four of Werder's goals, restored the visitors' lead when he converted a penalty in the 55th minute.Pizarro scored himself in the 71st minute and then added a late fifth to give the scoreline a lop-sided look.
Hamburg have also reached the last four after a 2-1 victory over second division side Wehen Wiesbaden. Wehen fell behind to a Marko Kopilas own goal and Mladen Petric doubled the Hamburg lead eight minutes from half-time.
Sandro Schwarz scored Wehen's five minutes from time, but the goal could not prevent Martin Jol's side reaching their first cup semifinal in 12 years.
On Tuesday, second-division Mainz scored an 88th-minute winner to beat Schalke 1-0 and reach the semifinals for the first time in their history.