Everton defender Leighton Baines has signed a new four-year with the Barclays Premier League club, manager Roberto Martinez has announced.
Martinez revealed that the Kirkby-born full-back has committed himself to Everton at a press conference on Monday.
"We're delighted Leighton has signed for the next four years," Martinez said.
"It gives us a great boost internally and also for the fans."
Moyes twice tried to sign the 29-year-old England international last summer and was believed to still be interested in bringing his former player to Old Trafford.
Baines joined Everton from Wigan in 2007 in a deal worth £6million after rejecting a move to Sunderland.
The defender had 18 months left on his contract at Goodison Park, and Martinez has moved to ensure one of his prized players will not depart during this transfer window by securing his long-term future at the club.