Real Madrid have confirmed that forward Cristiano Ronaldo has agreed a new five-year contract.
The 31-year-old Portugal international has extended his current contract by three years in a deal worth a reported £365,000 ($454,000) a week.
Real Madrid said in a statement that the official contract signing ceremony will take place in the presence of club president Florentino Perez at the Santiago Bernabeu on 7 November.
The news comes days after Gareth Bale signed a new deal to stay at the Spanish giants until 2022.
Ronaldo moved to Real from Manchester United in 2009 for a then-world record transfer fee of £80m and is the 11-time European champions' all-time leading goal scorer.
He has netted 371 times in 360 appearances in all competitions for the Madrid club, winning one La Liga title, two Copa del Reys and two Champions League titles.
The Portuguese forward will be 36 when his new deal expires.
Speaking after Real Madrid's 3-0 win over Leganes, manager Zinedine Zidane said Ronaldo would finish his career at the Bernabeu.
"What Cristiano has to do is finish his career here. He is unique because of what he does and what he stands for," the Frenchman told the club's official website.
"His dream is to end his career here and I am happy that he can renew his contract and end his career here just I did a long time ago."
Ronaldo was booed by some sections of Real's support in October after a slow start to the season. He has failed to score in his last five matches at the Bernabeu – his longest ever scoreless run at the stadium.
"There's nothing wrong with him. We always want him to score goals, he got three in Vitoria [against Deportivo Alaves]," Zidane added.
"You might seem him do things on the pitch because he always wants to get a goal. I don't think he's worried, he looks good and committed."