The Brazilian will join the club at the end of this season and also have the option of a third season with his new club.
Roberto Carlos said: “I am happy because everything has been solved favorably. But until the 17th of June I will continue thinking about Real Madrid. I want to leave here in the same way that I arrived, winning the Liga. And that people never forget that always I will continue being a Madridista.”