Violations of Article
X. Any person, owner, lessee, tenant, occupant, architect, builder or agent who violates or is accessory to the violation of any provision of Article
X hereof, who owns, occupies or uses any building, structure or premises which is in violation of any provision of Article
X hereof, who fails to comply with any of the requirements of said Article
X, or who erects, constructs, alters, enlarges, converts, moves, maintains or uses any building, structure or land in violation of any provision of Article
X hereof, shall be guilty of an unclassified misdemeanor as contemplated by Article 10 and § 80.05 of the New York State Penal Law and, upon conviction thereof, shall be punishable by a fine of not more than $2,500 or imprisonment for not more than 10 days, or both, for the first offense. Any subsequent offense within a three-month period shall be punishable by a fine of not more than $5,000 or imprisonment for a period of not more than 30 days, or both. For purposes of this Subsection
B, each week (or portion thereof) that a violation of Article
X of this chapter exists shall constitute a separate and distinct offense.