Martin Foyle leaves York City post
During his time at Bootham Crescent, Foyle led York to the FA Carlsberg Trophy final at Wembley and took the team back to the national stadium 12 months later for the play-off final.
Foyle's bombshell decision follows Tuesday night's 5-0 defeat at Mansfield Town
Advertisement
Hide AdAdvertisement
Hide AdIn a statement, Foyle said: "I would like to thank Jason McGill and his family for giving me the opportunity to manage York City Football Club.
"They have been fantastic with me from day one and have been very supportive. We have had an excellent working relationship.
"Andy Porter and I have lived up here in York six nights a week and worked tirelessly to change the fortunes of the club to get it back to its position of challenging at the top of the league.
"We have certainly achieved this. We have also reached the Promotion Play-Off Final and been to Wembley twice and these have been very proud moments in my career.
Advertisement
Hide AdAdvertisement
Hide Ad"We also reached the third round of the FA Cup and played against Premier League opposition.
"The club record of 10 consecutive wins was also a fantastic achievement for all my players.
"With the money from the cup runs, Wembley visits and the sale of Richard Brodie I know I leave the club in a much healthier position than when I arrived 20 months ago."
Porter and Steve Torpey will be taking charge of the first team fixtures on Saturday and Monday.
For more on this story read Saturday's Yorkshire Post.