Wayne Rooney has signed a four year contract extension with Manchester United, the club have confirmed.
The 28-year-old has ended speculation surrounding his future by signing a new deal reportedly worth £300,000 a week that will keep him at Old Trafford until the summer of 2019.
"I am made up to be staying at United. In August I will have been at the club for 10 years and during that time I have played with some fantastic players and won everything that I hoped I would when I first signed," Rooney said, the club's official website reports.
"I now have the chance as one of the club's senior players to help the younger players coming through and to be a part of another great United team."
Manager David Moyes added: "Wayne has been the best player in England since I put him into the Everton first team in 2003. Since becoming United manager in July last year, I have enjoyed working with him and seeing just how he has developed his incredible talent.
"With his ability, his experience and his desire to succeed, he is a vital part of my plans for the future and I'm absolutely thrilled he has accepted the challenge."
Rooney's renewal marks a remarkable turnaround after former United manager Sir Alex Ferguson claimed the striker had asked to leave the club at the end of last season.
The striker was subsequently pursued by Chelsea as Jose Mourinho sought to make the England international the focal point of his attack at Stamford Bridge, but United resisted such offers as David Moyes insisted the player would remain in Manchester.
"I said last July that Wayne has an outstanding chance to be a true legend of this club's long and rich history," Moyes added. "He is just 42 goals away from overtaking Sir Bobby as our record goalscorer and becoming the first United player to hit 250 goals for the club.
"These opportunities only come to special players and I'm confident Wayne will set a new record that will take decades to reach. These are really exciting times for everyone connected."