La Liga giants Barcelona have completed the signing of Brazilian full back Douglas Pereira from Sau Paulo for an initial fee of four million euros ($5.2 million, £3.2 million), the club confirmed on Wednesday.
The 24-year-old will sign a five-year deal and is expected to compete with compatriot Dani Alves for a place in the first team.
The deal could rise to 5.5 million euros subject to the number of appearances he makes for the Catalans.
"FC Barcelona and Sao Paulo FC have reached an agreement for the transfer of Douglas Pereira," said a statement on the Barca website.
"The cost of the transfer is four million euros plus 1.5 million euros in variables depending on the number of games played.
"Douglas will travel to Barcelona at the end of this week to do his medical, sign his contract and be presented as a Barcelona player."