Militao, 21, becomes the first signing at Real since Zinedine Zidane returned as head coach on Monday, replacing the sacked Santiago Solari.

The Brazil international, who joined Porto from Sao Paulo in the summer, will join up with his new team-mates at the start of next season.

<div id="A02" class="inlinead">

A statement on the Real Madrid’s website reads: “Real Madrid CF and FC Porto have agreed on the transfer of the player Eder Militao, who will be linked to the club during the next six seasons, until June 30, 2025.”

“He comes from Porto, where in his first season he has become one of the main protagonists of the Portuguese League. He has been named in the best defence of the championship for five consecutive months.”

“A multi-purpose player, Militao plays central, although he has also occupied the right-back position. He stands out for his speed, placement, and ability to anticipate.”