Bayer Leverkusen manager Heiko Herrlich endured a frustrating night on his competitive debut on Friday, before three goals in extra time finally secured his side's progress 3-0 against third-division Karlsruher SC in the first round of the German DFB Pokal.

"It cost a lot of nerves but we persevered," Herrlich said.

Herrlich was appointed in the offseason to lead Leverkusen back among the sides playing European football after the team flirted with relegation last season.

The new boss was clearly unhappy as Karlsruher kept his side scoreless in the first 90 minutes.

Substitute Joel Pohjanpalo should have won it in injury time but he missed from seven yards. Dominik Kohr finally made the breakthrough minutes into extra time with a header to Julian Brandt's free kick.

Pohjanpalo then made up for his earlier miss, and Leon Bailey gave the score a flattering look with his first competitive goal for the team.

Leverkusen are back next Friday in the Bundesliga opening game against defending champion Bayern Munich.

Borussia Monchengladbach also needed to dig deep to win 2-1 at Rot-Weiss Essen.

The visitors had an uphill task when captain Benjamin Baier headed the fourth-tier side into a first-half lead, and the Bundesliga club's frustrations grew as Essen sat back and defended in numbers in the second half.

Jonas Hofmann finally equalised at the second attempt, just minutes after going on as a substitute. Raffael scored the winner.

Dynamo Dresden beat fourth-tier side Koblenz 3-2 thanks to Markus Schubert saving a late penalty, and Holstein Kiel came from behind to defeat second-division rival Eintracht Braunschweig 2-1 after defender Joseph Baffo was sent off for conceding the penalty from which Kiel equalised.