One of Leeds' historical buildings has been sold a day before it was due to go up for auction.
Developer CEG said it had "agreed terms to acquire" the Grade 1-listed Temple Works on Marshall Street, Holbeck.
The privately-owned former flax mill was due to be sold at auction on Thursday with no reserve price.
CEG said it was "pleased to become the custodian of an important element of the city's historic culture" and would work with the council on redevelopment.
The building, which had fallen into disrepair, had been earmarked for renovation by Burberry but the plans were dropped.
Heritage campaigners had expressed concern about any future redevelopment of the building in light of its architectural and historical significance.
According to Leeds City Council, Temple Mills is in the top 2.5% of listed buildings and is of national importance.
Construction began in 1836 with a facade based on the Temple of Horus at Edfu, Egypt, and the site is in a conservation area.