§ 6–901. Inspection of buildings authorized.
(a) The Mayor may examine the habitability and sanitary condition of all buildings in the District of Columbia, to condemn those buildings which are in such insanitary condition as to endanger the health or lives of the occupants thereof or persons living in the vicinity, and to cause all buildings to be habitable and sanitary or to be demolished and removed. The Mayor may authorize and direct the performance of the duties imposed on him by this chapter by such officers, agents, employees, contractors, employees of contractors, and other persons as may be designated, detailed, employed, or appointed by the said Mayor to carry out the purposes of this chapter. The Mayor or his designated agent or agents are authorized to investigate, through personal inquiry and inspection, into the habitability and sanitary condition of a building or part of a building in said District, except such as are under the exclusive jurisdiction of the United States. The Mayor, and all persons acting under his authority and the authority contained in this chapter, may, between the hours of 8:00 a.m. and 5:00 p.m., peaceably enter into and upon any and all lands and buildings in said District for the purpose of inspecting the same. If the unsafe building or structure is an historic landmark or is located in an historic district, as defined in § 6-1102(5), the Mayor shall not order or cause the building or structure, or portion thereof, to be removed or taken down, unless the Mayor determines, in consultation with the State Historic Preservation Officer, as defined in § 6-1102(12), that:
(1) There is an extreme and immediate threat to public safety resulting from unsafe structural conditions; and
(2) The unsafe condition cannot be abated by shoring, stabilizing, or securing the building or structure.
(b) As used in this section, the terms “uninhabitable” or “uninhabitability” mean the condition of being in an unlivable condition due to deterioration and infestation, improper maintenance, decaying structures, insufficient light or ventilation, inadequate plumbing, defective electrical system, or general filthy conditions that may cause health and safety concerns for the public, or that is a fire hazard or nuisance.