The takeover of League Two club Plymouth Argyle by businessman James Brent has been approved.
Brent's Akkeron Group has come to an agreement with administrators over fees owed to them.
"I am delighted that this morning we have agreed a deal that will see Plymouth Argyle Football Club coming out of administration," administrator Brendan Guilfoyle said in a statement.
"We have been assured that Akkeron will complete the purchase today."
He added: "Like many other parties both ourselves and Walker Morris (solicitors) have waived a significant amount in fees to ensure the survival of the club.
"I would like to thank everyone for their patience and continued support during complex negotiations to save the club."
Argyle have been in financial difficulties for almost a year and formally went into administration in March.
Since then acting chairman Peter Ridsdale has been trying to find a buyer for the club, who are bottom of the Football League.
"I'm pleased for all the staff and players who have been living on a knife edge for so long," acting chairman Peter Ridsdale told BBC South West.
"It's very comforting as a city of this size needs a professional football club. I think the staff are still taking it in.
"It's been a long time coming and it's not something you can take on board that easily after such a long time but everyone is very happy."
Risdale refused to comment on whether he would stay on at Argyle, where he has been assisting since last season.
Under Brent's deal Plymouth City Council will buy Home Park stadium for £1.6m from Brent, who will use the money to help fund the club.
Argyle's takeover has been a protracted affair, with Bishop International, a Gibraltar-based consortium fronted by Truro City chairman Kevin Heaney, the front runners to buy the club for a number of months.
But BIL failed to complete their takeover during a period of exclusivity they had, leading to other bidders being given the chance to come in.
Brent, who had wanted to take the club over since the summer, was the fans' preferred bidder and took the front seat once his plan to sell Home Park to Plymouth City Council was approved.
He and his team have spent much of the past fortnight trying to get every person owed money by Argyle to sign up a repayment deal.
Plymouth have won just two games all season and are five points adrift of safety at the bottom of League Two.
The club sacked manager Peter Reid last month and installed captain Carl Fletcher as caretaker manager.
Great news.
They should be out of admin later today.