Atletico Madrid's Oliver Torres will join Porto permanently in the summer for €20 million after the Portuguese giants exercised a clause in his current loan deal.
The midfielder has shone for the club during his second loan stint at the Estadio do Dragao, scoring two goals and setting up one more during his 18 league appearances this season.
"Porto hereby informs the market that it has exercised the purchase option for the acquisition of the sporting rights of the athlete Oliver, for the amount of €20m, from Atletico Madrid," a club statement reads.
"It is further informed that the contract of employment with the player will be effective upon the termination of the loan agreement currently in force."
The transfer will be the second biggest deal in the history of the Portuguese league, just €2m short of the €22 million Benfica paid Atletico for Mexican international Raul Jimenez in 2015.