(CNN) -- David Moyes has been appointed as the new manager of Manchester United after agreeing a six-year deal. The 50-year-old, who will replace Alex Ferguson on July 1, revealed his desire to leave current club Everton earlier Thursday. Moyes, who has been in charge at Goodison Park since 2002, will take charge of the club's final two Premier League games of the season before making the move to Old Trafford. "It's a great honor to be asked to be the next manager of Manchester United," Moyes told United's official website. "I am delighted that Sir Alex saw fit to recommend me for the job. I have great respect for everything he has done and for the football club.
@highlight
David Moyes will take over at Manchester United on July 1st
@highlight
Moyes has never won a trophy with Everton
@highlight
Everton finished outside the Premier League's top-10 only three times in 11 years
@highlight
United had put a Facebook page inviting fans to send their welcome messages to Moyes
"When we discussed the candidates that we felt had the right attributes we unanimously agreed on @placeholder," Ferguson told the club's official website.
This month @placeholder reported record third-quarter earnings of £91.7 million ($142 million) but an 18% increase in operating expenses plus payments on a gross debt that has fallen to £367.6 million ($572 million) meant a pre-tax loss of £3.15 million ($4.9 million) for the period.