Oldham Athletic have said they will avoid administration after repaying money owed to two former owners.
Documents filed to Companies House confirm the amount owed by the financially-troubled League Two side to Brass Bank – owned by Danny Gazal and Simon Blitz – has been settled.
Oldham were due in court this month over the matter.
In a statement, the club said “administration proceedings are now at an end”.
The club had been facing the prospect of having 12-point deduction imposed on them if they were placed into administration.
While Oldham owner Abdallah Lemsagam has settled the debt, the club is still working on buying their Boundary Park ground from Brass Bank.
A deal for the stadium was agreed in March.
Meanwhile, Great Manchester Police have said: “After carefully reviewing the allegations made by Oldham Athletic Football Club regarding the financial conduct of the previous ownership of the club GMP will not be investigating any further.”