Brazil legend Roberto Carlos has hailed compatriot Marcelo as the "best left-back of all time".

Marcelo will leave Real Madrid at the end of this month, ending a 15-year stay in the Spanish capital which saw him become Los Blancos' most decorated player.

While playing a limited role in his final season under Carlo Ancelotti, Marcelo lifted the LaLiga title and won the Champions League, taking his trophy count to 25 with Madrid.

The 34-year-old was brought in to replace Roberto Carlos when he left Madrid in 2007, and the Brazil legend has lavished praise on his fellow countryman.

"Marcelo, in my opinion, has been the best left-back of all time. He knows, I have talked to him many times," the 49-year-old told reporters.

"It is a shame that he has left Madrid. He is not finishing his career. He continues his sequence in his career as a football player. He has four or five years more.

"We, from Madrid, are very grateful to him for the titles, 25 titles. He overcame me very easily. I saw him grow in Real Madrid, he arrived there when he was 17 years old.

"I didn't go to his [farewell] presentation because I knew I was going to cry. It was his farewell, I knew I was going to cry because I've seen him grow up and look what he's done.

"Nowadays there a lot of questions about who was better, Roberto Carlos or Marcelo, but there is no dispute between me and Marcelo, as he is like my son.

"I know that he has a great story with Real Madrid. For me, it is as if I was winning with him.

"I wish him the best of luck and thank you very much for everything and that he continues to be an idol, an example a phenomenon."