Barcelona has reached an agreement with Valencia to buy Andre Gomes.

Gomes, a 22-year-old attacking midfielder, has been linked with Real Madrid and Manchester United.

Barcelona have not revealed any more details about the transfer but Marca reported that Gomes will sign a five-year deal and join the Spanish champions for €50 million ($55.1 million).

Gomes will become Barcelona’s fourth signing this summer following the arrivals of Samuel Umtiti, Denis Suárez and Lucas Digne.