“One year after joining Juventus on a temporary basis from Bayern Munich, the Brazilian now has a deal at the club lasting until 2022 after the Bianconeri took up the option to make his services permanent following an eye-catching first season in black and white,” a statement read.

Last year, Bayern Munich CEO Karl-Heinz Rummenigge confirmed Costa would move at the end of the season after the 27-year-old went on a season-long loan to the Italian champions in July with a view to a permanent transfer.

“Douglas Costa will definitely be sold to Juventus in the summer for €46m,” Rummenigge said at his club’s annual general meeting when the German champions announced a record turnover.

After joining Bayern from Shakhtar Donetsk for €30m in 2015, Costa enjoyed a bright first season in Germany, scoring four and assisting 14 goals in 27 Bundesliga appearances under Pep Guardiola. He also scored the decisive penalty in the DFB Pokal final shootout victory against Borussia Dortmund as Bayern secured the Double in Guardiola’s final game in charge.

Douglas Costa joined Juventus on an initial loan deal in the summer.

However, Costa, who had to contend for a place on the flanks with Arjen Robben, Franck Ribery and Kingsley Coman, struggled to back up his strong debut campaign and started only 14 of Bayern’s 34 Bundesliga games.

He enjoyed more success in Turin, playing 48 times and assisting 14 goals, scoring four, to help his side to the title this season.

The winger becomes the most expensive sale in Bayern’s history — surpassing the €30m received from Real Madrid for Toni Kroos in 2014.

Information from Bayern Munich correspondent Mark Lovell was used in this report.

Follow @ESPNFC on Twitter to keep up with the latest football updates.

ESPN FC's Paolo Bandini says that Juventus would welcome Alvaro Morata back to Turin with open arms if the price is right. Juventus have confirmed the signing of Bayern Munich winger Douglas Costa for a fee of €46 million.
'One year after joining Juventus on a temporary basis from...