European champions Real Madrid have completed the signing of Brazilian international right-back Danilo from Porto on a six-year deal.
"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," the club said in a statement on Wednesday.
A statement by Porto to the Portuguese stock exchange said the deal was worth 31.5 million euros ($34.2 million, £23 million)
The 23-year-old joined Porto from Santos in 2012 and has won two league titles with the Portuguese giants as well as playing a big part in their run to the quarter-final of the Champions League where they will face Bayern Munich next month.
Danilo also won a silver medal with Brazil at the 2012 Olympics and has become a regular with his national team since Dunga took charge of the five-time world champions following a disappointing World Cup on home soil last year