Former Carlisle United manager John Sheridan has committed his future to Oldham Athletic despite the Latics' relegation to non-league.
The 57-year-old has agreed to remain at Boundary Park to lead the club in the National League in the 2022/23 campaign.
Sheridan returned for a sixth spell at Oldham but, despite a strong start, was unable to avert the drop at the crisis club.
The experienced manager will now attempt to help the Latics bounce back.
In a statement he said: "I’m still hurting like all of the supporters and gutted it didn’t end the way we wanted to, but everyone knows my love for this club and I want to be that person to make sure we have a really good chance next season to compete properly at the right end of the table.
“I’ve not taken this decision lightly and know it’ll be a tough period coming up but I’ll make sure those representing the club on the pitch have the fight, determination and character so we can hit the ground running.
“The passion from the fanbase since I returned is a big factor in this and I want to repay the faith shown during these past few months. As always keep the faith and I’ll see you again soon.”
Oldham were relegated last weekend despite a delay to their game against Salford City when fans invaded the pitch in protest against hugely unpopular owner Abdallah Lemsagam.
Their 2-1 defeat was eventually completed behind closed doors, the result - coupled with wins for Barrow and Stevenage on the same day - consigning Oldham to the National League along with bottom outfit Scunthorpe United.
Among the earlier results which pushed Oldham towards the trapdoor was their 2-1 defeat to Paul Simpson's Carlisle at Boundary Park in March.
Sheridan was in charge at Carlisle from 2018-19 before leaving mid-season for Chesterfield - since when he has managed Waterford, Wigan and Swindon before January's return to Oldham.
READ MORE: Paul Simpson spells out his plans to revamp Carlisle United's recruitment set-up
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here