Sergio Ramos and Real Madrid have agreed upon an extension through 2020.

Ramos' existing deal was set to expire in 2017 and he sought a move to Manchester United.

Ramos was bought by Real Madrid in 2005 for €27 million after coming up through Sevilla's academy.

With Iker Casillas' departure this summer, Ramos will assume captain duties for Real Madrid.