WREXHAM chairman Mark Guterman has bought the Racecourse Ground from a Manchester-based property developer in order to safeguard the club's home.
The 43-year-old concluded eight weeks of secret negotiations with former business partner Alexander Hamilton to become the sole owner and guardian of the Second Division club.
It is understood Hamilton favoured a plan to relocate Wrexham to a new but smaller stadium with a view to selling the prime Racecourse site for commercial development.
The agreement, which is binding on both parties and subject to due diligence, is set for completion in six weeks.
In a statement issued by his legal advisors, Guterman said: "Mr Guterman's plans for the club are to stay at the Racecourse Ground and to build the facilities the club needs to bring in the extra income to allow it to compete into the 21st Century.
"It is imperative that the club develops off-field income in the future. Mr Guterman is working very closely with the local authority to bring this development forward for the benefit of Wrexham AFC and the wider community.
"The reason for this agreement was a fundamental difference of direction between the freeholder and the club. While this existed the club's future would always be uncertain."
The freehold of the land, formerly owned by Wolverhampton & Dudley Breweries, was sold to a Manchester-based company, Damens Ltd, in June 2002 for a sum believed to be £300,000.
Damens is owned by Hamilton, and Guterman - who weeks earlier had taken over as Wrexham chairman - was also a director of the company at the time.
He resigned from Damens soon afterwards to concentrate on his combined role as club chairman and architect of the Racecourse redevelopment.
Following a marathon session with his lawyers in Manchester, Guterman told the Daily Post: "After so many weeks of not being able to say anything, I'm delighted finally to make this announcement.
"We've still got problems to overcome at the club but we - myself, my fellow directors, manager Denis Smith and all the staff - are going to work together to do that.
"We'd also like to involve everyone else who has the club's best interests at heart.
"In the meantime I'm looking forward to our final home game of the season against Brighton on Saturday and the FAW Premier Cup final against Rhyl next Wednesday."
Last night's announcement was welcomed by Guterman's fellow Wrexham directors, Dave Bennett and Dave Griffiths.
In a joint statement they said: "Mark has kept us informed of his plans all along the way and this is good news for Wrexham FC.
"Now our aim is to take the club forward."