Ronaldo ends nine-year Madrid reign, joins Juventus