Jens Lehmann has been sacked by Hertha Berlin for sending an offensive message to former Germany international Dennis Aogo.
Aogo, who is a television analyst for Sky TV in Germany, posted a screenshot of the message from the ex-Arsenal and Germany goalkeeper on Instagram and wrote: "Wow you're serious? The message was probably not for me."
Lehmann, who had been working with the Bundesliga club as a consultant, has apologised to Aogo and posted a message on Twitter by way of explanation.
"A private message sent from my phone to Dennis Aogo gave off an impression, for which I have apologised in conversation with Dennis." he wrote.
"As a former Germany international, he is very knowledgeable, has a great presence and brings in ratings for Sky."
Lehman represented the company Tennor Holding on the Hertha supervisory board and their spokesman Andreas Fritzenkötter told Sky in Germany, "The consultancy contract with Mr. Lehmann will be terminated. This means that the posting to Hertha's supervisory board is no longer applicable."
Hertha President Werner Gegenbauer said: "Such statements in no way correspond to the values for which Hertha BSC stands and actively campaigns.
Hertha BSC distances itself from any form of racism. We therefore welcome the step taken by Tennor Holding."
A statement from Sky Germany read: "Dennis Aogo is a highly esteemed colleague and an excellent pundit, and we are glad to have him in our team.
"We at Sky condemn any form of racism and give no space or platform to racism.
"We have often had Jens Lehmann as a guest on our programme and are very disappointed by his behaviour. We do not plan to invite him back onto our broadcasts again."