Real Madrid have completed the signing of Porto defender Danilo.
The Brazil international has signed a six-year contract with the La Liga giants in a deal worth €31.5m (£23m).
"Real Madrid and Porto have reached an agreement for the transfer of Danilo, who will join next season and be tied to the club until June 30, 2021," said Real in a statement.
Danilo, who joined Porto from Brazilian club Santos in 2012, has earned 11 senior caps for Brazil and established himself as a regular in the national team since Dunga took charge.
The full-back won two league titles during his time in Portugal and played an instrumental role in Porto's Champions League campaign this season.