Malaga have confirmed they will appoint former Real Madrid boss Bernd Schuster as their new coach.
The 53-year-old replaces Manuel Pellegrini, who is widely expected to succeed the sacked Roberto Mancini as Manchester City's next manager.
It will be Schuster's first coaching role since quitting Turkish club Besiktas in March 2011.
Malaga said on their website that he has agreed a five-year deal and will take charge officially next week.
Pellegrini confirmed in May that he would be leaving the Qatar-owned club after three years in charge, having led them to the quarter-finals of last season's Champions League.
Former West Germany midfielder Schuster spent most of his playing career in La Liga with Barcelona, Real and then Atletico Madrid.
He coached in Spain, with second division Xerez and top-flight sides Levante and Getafe, before he took over at Real Madrid as Fabio Capello's replacement in 2007.
Schuster guided the nine-times European champions to a second successive league title in 2008 but was sacked midway through the following season.
He took over at Turkish side Besiktas in June 2010 but quit the following March.
Malaga should have qualified for next season's Europa League after Pellegrini took them to sixth place in La Liga, but they have been banned from European competition for a season because of overdue payments to rival clubs and the Spanish tax authorities.
An appeal against the ban was rejected by the Court of Arbitration for Sport (CAS) on Tuesday.