Valencia have signed midfielder Nani on a three-year contact from Fenerbahce, according to a statement on Los Che's website.
The Portugal international left Manchester United for Fenerbahce last year and was strongly linked with a move to Premier League outfit Stoke City as well as Serie A giants Inter Milan.
The La Liga outfit have reportedly met the Turkish club's buyout clause of 8.5 million euros, which will see the winger join his fourth club in his 11-year career.
The statement on the club's website read:
"Valencia have reached an agreement with Portugal international Luis Carlos Almeida da Cunha 'Nani' that ties the player to our club for the next three seasons.
"Nani, 29, has played for Sporting CP (2005-2007, 2014-15), Manchester United (2007-2014) and Fenerbahce (2015-16).
"His impressive record includes winning the Champions League and four Premier League titles with Manchester United and two Portuguese Cups with Sporting. In his last season with Fenerbahce, Nani played 46 official matches, in which he scored 12 goals.
"The Portuguese international is currently in France, where his national side will take part in the semi-finals of Euro 2016, and will be presented to our fans in the near future. Nani has played 101 official matches with Portugal and has scored 20 goals, including two at Euro 2016."
Nani is set to be officially unveiled as a Valencia player upon the completion of the European Championship.