London - Chelsea have agreed a fee with Real Madrid for the sale of Portuguese international defender Ricardo Carvalho, the English Premiership champions announced on Tuesday."Chelsea Football Club can confirm it has agreed terms with Real Madrid for the transfer of Ricardo Carvalho," said a statement issued on the London club's official website."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."The Blues' announcement, which comes just days before the new Premier League season starts on Saturday, paves the way for Carvalho to join compatriot Jose Mourinho, his manager at both Porto and Chelsea, at Spanish giants Real.Carvalho won the Champions League with Porto in 2004 when Mourinho coached the club.He joined Mourinho at Chelsea that year for a fee of around 20 million euros but last year he fell down the pecking order at the west London clubIn total he made 210 appearances for Chelsea, scoring 11 goals, and during his time at Stamford Bridge, helped the team win three Premier League titles, two FA Cups and two English League Cups.A regular for most of his time at Chelsea, he made just 18 appearances last season - which he has called "the worst year of my life" - as injuries caused him to fall out of the starting line-up.Last month the 32-year-old Carvalho told Spanish sports daily that it would be "a dream" for him to be reunited with Mourinho at the Bernabeu."If there was a possibility to sign with Real Madrid, I would go there right now swimming or running."It would be a dream to be able to play for Madrid, which I consider to be the best club in the world, and follow the orders of the best coach in the history of football."With Mourinho I experienced two marvellous stages at Porto and Chelsea. To have the opportunity to win another Champions League with him at Real Madrid would be tremendous."Mourinho arrived in a blaze of glory in the Spanish capital after leading Inter Milan last season to the treble of a domestic league and cup in Italy as well as the Champions League.