A vacant Shirley home in danger of collapsing was torn down by Brookhaven Town on Tuesday. It was the second demolition of the year.

Town officials said the house on Rugby Drive West had been vacant for about six years and was a public safety threat.

It also had a history violating New York State fire and building codes along with Brookhaven Town codes. Violations included a missing interior staircase and several holes in the roof.

Independent engineer reports confirmed the house was unsafe, uninhabitable and in danger of collapsing, town officials said.

The house was knocked down under Chapter 73 of Town Code, which provides a “fast track” to get rid of unsafe structures.

advertisement | advertise on newsday

Last month, town officials tore down an unsafe and dilapidated Bellport house on Station Road.

Brookhaven town officials made tearing down vacant houses one of their top priorities last year and demolished 31 homes, five of which were done by the property owner at the urging of the town.

Town officials said a Mastic Beach home acquired through the New York Rising Program will soon be demolished.

advertisement | advertise on newsday

In 2013, the town created a vacant building registry requiring owners of vacant properties to register with the town by providing contact information of the person responsible for maintaining the property. Failure to register within 30 days of vacancy could mean fines of up to $15,000.