Valencia have announced that they have signed Nani from Fenerbahce on a three-year deal.
The 29-year-old spent just one season with the Turkish outfit but was expected to leave this summer having scored 12 goals in 46 appearances during the 2015-16 campaign.
Last week Fenerbahce president Aziz Yildirim confirmed that the Portugal international would be joining Valencia, although more recently Stoke City have been credited with an interest.
However, Valencia have now completed the deal and will officially present Nani in the coming days.
Nani is currently in France with his country at Euro 2016, where he is gearing up for a semi-final against Wales on Wednesday.