Any person or corporation or officer thereof who shall violate any of the provisions of this chapter, or who fails to comply therewith or who shall fail to comply with any written notice of violation or order issued by the Director of the Building Department, shall be guilty of a violation within the meaning of the New York
Penal Law and, upon conviction, shall be punishable by a fine of not less than $1,000 nor more than $2,000 or to imprisonment for a period not to exceed 15 days, or both; and, upon a second conviction for the same offense committed within five years of the date of the first offense, shall be punishable by a fine of not less than $2,000 nor more than $3,500 or to imprisonment for a period not to exceed 15 days, or both; and, upon a third conviction for the same offense committed within five years of the date of the second offense, shall be punishable by a fine of not less than $3,500, nor more than $5,000 or to imprisonment for a period not to exceed 15 days, or both. Each week that any such violation continues shall constitute a separate and distinct violation. The owner or owners of any building or premises or part thereof where a violation of any of the provisions of this chapter shall exist or any lessee, tenant, builder, contractor, subcontractor, agent, person or corporation employed in connection therewith and any person who assisted in the commission of any such violation shall each be guilty of a separate offense and, upon conviction thereof, shall be punishable as herein provided.