Oldham Athletic have announced Pete Wild has decided to leave the club to “spend some time away from football”.

The boyhood Latics fan has overseen two spells as caretaker manager, famously taking charge of the FA Cup shock against Premier League Fulham at Craven Cottage in January.

He first stepped up from the academy in December following the sacking of Frankie Bunn and did so again when Paul Scholes’ 31-day reign came to an end in March, just four weeks after stepping aside for the Manchester United legend.

Latics finished the season 14th in League Two under Wild, a play-off charge fizzling out before the campaign ended with a 5-2 defeat at home to Northampton.

Owner Abdallah Lemsagam said in a statement: “Pete worked extremely hard for this club of which I am grateful for, but came to me today (Tuesday) saying he wants to spend some time away from football.

“He’s a great guy, I’m sad to see him go and would’ve liked him to stay with the club but I respect his decision and wish him well for the future.”

Oldham said an announcement on a replacement would be made “in due course”.