Benfica have confirmed the sale of their goalkeeper Ederson to Manchester City for a sum of €40m (£34.9m).

The 23-year old Brazilian spent two seasons in the Primera Liga. He now joins Pep Guardiola’s side in what is a British record fee for a goalkeeper.

ALSO: UEFA Champions League Draws: Arsenal Get Bayern Munich

Benfica confirmed the deal in a message to the Portuguese stock exchange, which read: “In accordance with and for the purpose of Article 248 of the Securities Code, Benfica have reached an agreement with Manchester City Football club Limited for the transfer of the athlete Ederson Santana de Moraes for a fee of €40,000,000 (forty million euros) if there is a commitment to deliver 50% of the added value obtained in this transfer to third parties.”

Guardiola had purchased Claudio Bravo when he joined the Citizens last summer. A  number of poor performances had however forced Guardiola to rotate between him and second choice Willy Caballero.

Ederson becomes City’s second summer signing, after the capture of the Monaco midfielder Bernardo Silva for £43.6m.