Real Madrid will sign Porto's Brazil international defender Eder Militao at the end of the season for 50 million euros, the Portuguese club said on Thursday.
The 21-year-old has agreed a six-year contract with Madrid and will become coach Zinedine Zidane's first signing after his return to the Santiago Bernabeu this week, while the transfer fee is a record for a Portuguese club.
Militao, who joined Porto last year from Sao Paulo, made his Brazil debut last September in a 5-0 friendly win over El Salvador.
He will add competition to a Madrid defence that continues to depend on an ageing Sergio Ramos, who was suspended as they crashed out of the Champions League with a 4-1 home defeat to Ajax Amsterdam earlier this month.