The oldest hospital in Bath is set to be sold to developers.
The Royal National Hospital for Rheumatic Diseases, known locally as 'The Min' is owned by Royal United Hospital which has agreed to sell.
A deal for the Grade-II listed building has been agreed in principle, subject to a formal process.
The Min, which opened in 1742, was listed for sale by the Royal United Hospital earlier this year.
Local group The Bath Preservation Trust had attempted to nominate the building as an 'Asset of Community Value' which would give the community the option to purchase the site.
The Trust's bid was rejected by Bath and North East Somerset Council, meaning developers have been able to negotiate The Min's purchase.
According to Bath Royal Literary and Scientific Institution, The Min "was the first national hospital taking patients from all over the UK, and thus the foundation of the National Health Service."
Existing facilities based at The Min will be transferred into a new block at the Royal United Hospital at Combe Park in Weston.