Real Madrid have announced that goalkeeper Iker Casillas has signed for Porto.
The veteran Spaniard has spent his entire career with Los Blancos and played over 700 times, winning five La Liga titles, two Copa del Reys and three Champions Leagues.
The 34-year-old was the club's first-choice keeper last season, but Madrid have been increasingly linked with Manchester United's David de Gea.
Madrid released a statement praising Casillas and thanking him for his service.
It said: "Iker is gone, but his example remains. His behaviour during the 725 matches played with our shirt shows the way to those who dream of being part of this team.
"Thanks Iker, for everything you've done. Thanks for being a symbol of the best in our history. You'll not forget that you belong forever to the heart of Real Madrid."
It is believed that Porto have not paid a fee for the player.