Long-serving Chelsea central defender Ricardo Carvalho is set to leave Stamford Bridge to join former Blues boss Jose Mourinho at Real Madrid.
The two clubs involved have agreed a fee for the 32-year-old Portugal international, who joined Chelsea in the summer of 2004 from FC Porto and went on to make more than 200 appearances for the club in all competitions.
A statement on the Blues' official website:"Chelsea Football Club can confirm it has agreed terms with Real Madrid for the transfer of Ricardo Carvalho.
"The transfer is subject to a medical and the player agreeing personal terms.
"Chelsea would like to thank Riccy for his six years of service and we wish him well in his future career."
Carvalho is poised to sign a two-year contract at the Santiago Bernabeu, with a statement from the Spanish club adding:"Real Madrid CF and FC Chelsea have reached an agreement for the transfer of Ricardo Carvalho.
"The player will be linked to Real Madrid CF the next two seasons."