Bayern Munich head coach Vincent Kompany has been released from the hospital after collapsing at the club's training ground, the BBC and Sky Sports report.

Kompany, 40, was rushed to the hospital last Friday after falling ill while watching Bayern's second team train, the BBC reports.

Max Eberl, Bayern's board member for sports, said the cause was meningeal irritation. The BBC describes that as an inflammation of the membrane around the brain and spinal cord.

"Given the circumstances, he's doing well," Eberl said in an interview with German broadcaster ARD on Wednesday. "He was discharged from the hospital today. That is the biggest and best news for all of us."

Eberl said Kompany will now rest and take medicine. He said he is confident Kompany will be back on the touchline "very soon."

No date has been set for his return. Sky Sports reports Kompany will come back only after he is cleared by doctors. Bayern said on Saturday it would be a matter of "weeks, not days," the BBC reports.

Kompany had been fighting a virus before he collapsed and missed some training sessions. He skipped a news conference before last week's Champions League game against Arsenal but coached in the 2-2 draw, Sky Sports reports.

Assistant coach Aaron Danks has taken charge. Bayern won 3-1 at Freiburg on Sunday and beat Magdeburg 6-1 in the German Cup on Wednesday, Sky Sports reports. "His health is our number one priority," Danks said.

Bundesliga leaders Bayern face title rivals Borussia Dortmund on Saturday.

What we know: Kompany has left the hospital and is resting at home.
What we don't: When he will return to coach Bayern.