LEVERKUSEN, Germany (AP) — Bayer Leverkusen released Emir Spahic from his contract with immediate effect on Sunday following his fight with security personnel after the German Cup defeat to Bayern Munich.

"The latest revelations from the case last Wednesday leave us no other choice," Leverkusen managing director Michael Schade said.

Spahic was filmed fighting the club's security personnel, reportedly after they refused to allow his friends entry inside the locker room area. Bayern won the quarterfinal match on penalties.

With Cologne's public prosecutor involved, Leverkusen announced it was cooperating fully with the investigation.

"After video evidence emerged that shocked and upset all of us, we could not wait for the outcome of the legal investigation or a possible criminal case, but had to think about the club's immediate response. We sat down with Emir and found an amicable solution. Emir regrets his actions and is very sorry. We wish him all the best for his future path," Schade said.

Spahic accepted responsibility for his actions and agreed to the termination of his contract, which was due to run to 2016.

"I regret my behavior," the 34-year-old Bosnia-Herzegovina defender said. "I want to apologize to those involved and their families. I know I've also caused the club huge problems ... It was a great honor to be part of this brilliant team. I wish my friends in the team and the whole club, as well as Bayer Leverkusen's outstanding fans, the very best for the great future that lies ahead of this club."

Spahic had injured his knee in his last game for Leverkusen and was ruled out for up to four weeks.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.