Paul Cook has resigned as Wigan Athletic boss following the financially troubled club's relegation from the Championship.
Cook spent three years at the helm and achieved promotion to the second tier in his first season.
In the season just finished, the Latics went into administration, and with it a 12-point deduction. Despite a strong finish to the campaign, Cook's side ended up in the bottom three.
They would have ended up 13th, but only for the penalty.
Wigan did appeal their points deduction, with the outcome expected to be known next week.
"It is with a heavy heart that I have decided to leave Wigan Athletic," the former Sligo Rovers manager said in a message to the club's players, staff and supporters.
"I would like to thank David Sharpe, the Whelan family and Jonathan Jackson for giving me the opportunity to manage such a great club three years ago.
"I have been immensely proud to have continued my long affiliation with Wigan Athletic over the past three years and I have worked hard to represent the club to the best of my ability, to develop individuals and also create a team and a work ethic which the town can be proud of.
"It is well publicised that the club is going through an incredibly challenging period…we are all hoping a positive outcome can be found so this football club can write its next chapter under new ownership.
"I have enjoyed some amazing moments with you during that time that will live long."
Cook also oversaw memorable FA Cup victories over Premier League trio Bournemouth, Manchester City and West Ham, and twice broke the club's record for biggest league victory - 7-0 over Oxford in December 2017 and 8-0 against Hull last month.
"I want to thank every player for their efforts, hard work and commitment during my three years as manager," Cook added.
"I would like to thank my assistant Leam Richardson and as a collective I thank all of my support staff and the staff behind the scenes who are so pivotal to the football club.
"We must also not forget the 75 people who unfortunately lost their jobs a few weeks ago and I hope for those people that the club can find a positive solution and move forwards in the near future.
"To the supporters, who are the most important part of this club's present and future, I would like to thank you all for your support over the last three years.
"More than ever, I have been overwhelmed by your support to myself, the players and the staff over the past few weeks.
"Whoever leads this club in the future will be welcomed by a fantastic group of supporters."