The fans are set to become the new owners of Wrexham FC, with a takeover deal completed.
Wrexham Supporters' Trust (WST), which has been the preferred bidder, said it would take over the day-to-day running of the club on Tuesday.
Earlier, one of the club's owners Geoff Moss threatened to talk to a rival unless he received a deposit by 17:00 BST.
A joint statement said a "suitable financial agreement has been reached".
Despite off-the-field uncertainties and delays in finding a new owner over recent months, the club currently lies top of the Blue Square Premier league.
"The directors of Wrexham FC are delighted to announce that agreement has been reached with WST today to purchase the football club," said the statement from the club.
"During this period Wrexham Supporters Trust will run the football club under a licence agreement pending approval by the football authorities."
Spencer Harris, one of the WST's directors, said the news was "fantastic" for fans, Wrexham and supporters in general.
"We're taking over the club as a going concern, breaking new ground in Wales and looking forward to a bright future," he said.
Mr Harris said deal would need to be ratified by the Welsh FA and the Blue Square Premier League.
And he added that the next steps begin on Tuesday morning when WST directors take over the day-to-day running at the club.
The WST board has been in negotiations with the club for the past four months after it was put up for sale at the beginning of the year.
Members of the trust voted unanimously to back plans to take control of Wrexham FC in August.
When asked if the WST would move quickly to replace caretaker manager Andy Morrell, Mr Harris said he would not comment before any talks are held with the new manager and players.
Mr Moss has said previously that the uncertainty over the club's takeover had been frustrating and unfair to club staff, players and to former manager Dean Saunders, who was named as manager of Championship side Doncaster Rovers on Friday.
After the meeting, Jon Harris, chief executive of Wrexham FC, said the out-going directors will work with WST to "create stability for the caretaker manager and team".
"It will be everybody working together to try to assist one another in the forthcoming week," he said.
"Whilst we are top of the league it is a pretty unusual position," he told BBC Radio Wales.