Bayer Leverkusen have fired coach Gerardo Seoane and replaced with him with Xabi Alonso.
The Bundesliga club said Wednesday that they had "parted ways" with the Swiss coach and appointed the 40-year-old former Spain midfielder, who was to be given a contract through June 2024.
Sources told ESPN on Tuesday that Alonso had emerged as a leading candidate to replace Seoane over the last week.
Alonso enjoyed a stellar playing career, making 114 appearances for Spain and helping it win the World Cup in 2010 and the European Championship titles in 2008 and 2012. The former Real Sociedad player won the Champions League with Liverpool in 2005 and Real Madrid in 2014. He helped Bayern Munich to three straight Bundesliga titles between 2015 and 2017.
This is his first senior management job, having spent the last three years as a reserve-team coach at Real Sociedad. He started his coaching career at Real Madrid's youth setup.
Sources told ESPN that Alonso, who had been out of work since leaving Real Sociedad B in May, would welcome the challenge of turning around Leverkusen's season.
"In Xabi Alonso we have signed a coach who, as a player, was an absolute world-class professional for many years, an intelligent strategist and very successful in three of the most demanding European leagues," Leverkusen sporting director Simon Rolfes said.
Leverkusen are second from bottom in the German league with just five points from the opening eight rounds. Seoane's team were also knocked out in the first round of the German Cup by third-division team SV Elversberg.
Seoane led Leverkusen to third place in the Bundesliga last season after joining from Swiss team Young Boys in 2021.
Leverkusen said they would present Alonso at a news conference on Thursday.