Simone Zaza has called time on his career with Juventus after Valencia announced they had signed the on-loan striker on a permanent basis.
The Italy international had originally been co-owned by Juve and Sassuolo before the Serie A champions bought him outright in 2015.
Zaza scored eight goals in 24 appearances for the Bianconeri in his debut campaign, but fell down the pecking order following the arrival of Gonzalo Higuain in 2016.
The 25-year-old moved to the Premier League with West Ham on a season-long loan in August, but the agreement was terminated early during the January transfer window and he subsequently joined Los Che for the remainder of 2016/17.
After bagging four goals in 14 outings for Voro's side, they have taken up the option to make his stay a permanent one, with Zaza penning a deal until 2021 worth £13.7 million.
A statement from the La Liga club read: "Simone Zaza will become a Valencia CF player on a permanent basis from July 1st, 2017, in accordance with the terms of the current loan agreement for the player signed with Juventus FC.
"The Italian striker's contract will run through to June 2021."