Real Madrid have confirmed that coach Manuel Pellegrini has left the club. President Florentino Perez told a press conference that Pellegrini has left the club and that Inter coach Jose Mourinho is set to become his replacement.