Manchester City have completed a deal with Benfica for the £35m signing of goalkeeper Ederson Moraes, according to the Portuguese champions.
The 23-year-old broke into the Benfica team last March and has made 37 appearances for the club.
"Benfica has reached agreement with Manchester City for the amount of 40m euros," the club told the Portuguese stock exchange.
They also confirmed 50% of the fee will be paid to "third parties".
After Sunday's 2-1 Portuguese Cup final win over Vitoria Guimaraes, Moraes said it was "probably" his final appearance.
The Brazil Under-23 international is yet to make his full debut, but is in the squad for the forthcoming friendlies against Argentina and Australia.