Malaga coach Manuel Pellegrini has announced that he will leave the La Liga side at the end of the season, a club spokesman said on Wednesday.
The Chilean has been linked with a move to Premier League Manchester City who are looking for a manager after sacking Roberto Mancini.
"Professionally, these are my final hours at Malaga," Pellegrini said at an awards ceremony in the Costa del Sol city, according to local media.
"On Sunday, I will take charge of my last match at the Rosaleda. Everyone has the right to follow their own path. I am not leaving because of financial ambition, but because of a sporting project that will allow me to feel fulfilled."
He did not give further details about his future.
Malaga are sixth in La Liga and play at home to Deportivo La Coruna on Sunday as they chase a place in the Europa League next season.
Pellegrini, who joined Malaga after being sacked by Real Madrid in 2010, led the Qatar-owned club to the Champions League quarter-finals in their debut season, where they lost to finalists Borussia Dortmund.