Wayne Rooney signs five-year Manchester United deal
On Wednesday the 24-year-old striker said concerns over the club's squad strength were behind his original decision not to sign a new deal.
United boss Sir Alex Ferguson said: "I'm delighted Wayne's agreed to stay."
Rooney stated: "I said on Wednesday the manager's a genius and it's his belief and support that convinced me to stay."
He added: "I'm delighted to sign another deal at United. I've spoken to the manager and the owners and they've convinced me this where I belong.
"I am signing a new deal in the absolute belief that the management, coaching staff, board and owners are totally committed to making sure United maintains its proud winning history - which is the reason I joined the club in the first place.
"I am sure the fans over the last week have felt let down by what they have read and seen.
"But my position was from concern over the future.
"The fans have been brilliant with me since I arrived and it's up to me through my performances to win them over again."
The agreement ends a period of intensive discussions at Old Trafford after Rooney issued a statement in which he revealed that United chief David Gill had not given him the assurance he was seeking about the future squad.
"It's been a difficult week but the intensity of the coverage is what we expect at Manchester United," Ferguson told the club's website.
"Sometimes, when you're in a club, it can be hard to realise just how big it is and it takes something like the events of the last few days to make you understand.
"I think Wayne now understands what a great club Manchester United is.
"I'm pleased he has accepted the challenge to guide the younger players and establish himself as one of United's great players"; Kazinform cites BBC.
See www.bbc.co.uk for full version