BUFFALO, N.Y. — ​The owners of the Great Northern Grain Elevator have been granted an emergency demolition permit by the City of Buffalo.

The 124-year-old structure partially collapsed during last weekend's wind storm.

A spokesperson for owner, Archer Daniels Midland Milling, says the extensive damage posts a serious safety to their flour mill next door and other surrounding properties.

Buffalo Mayor Byron Brown had extensive conversations with ADM in regards to preserving the structure, but both sides agree that could be too risky.

"In a situation like this where there is a hazard and an immediate danger, that is not what the commissioner of permits and inspector services takes into consideration, he takes public safety and public health into consideration and that was what was done in this case," Brown said.

Folks with Campaign for Greater Buffalo say they've notified city officials that they are attempting to file a restraining order to prevent the emergency demolition of the Great Northern Grain Elevator.

"The structure suffered substantial and extensive damage from the wind and storms over the weekend and now poses significant safety concerns on-site and at adjacent properties and roadways," a spokesperson for ADM said. "Our primary concern is always the safety of the public, our neighbors, and our employees. Under the circumstances, we have submitted an emergency demolition application to the City. In it, we share our commitment to dismantle the structure in a prompt, responsible and safe manner and look for ways to preserve the legacy of the structure, such as donating artifacts to a local museum. A copy of the application is attached for your reference. We appreciate the support and understanding of the local community as we prioritize colleague and community safety in this difficult decision-making process."

If the site does get torn down though, officials don't expect it to happen immediately.