§ 14‑4.  Violation of local ordinances misdemeanor.

(a) Except as provided in subsection (b) or (c) of this section, if any person shall violate an ordinance of a county, city, town, or metropolitan sewerage district created under Article 5 of Chapter 162A, he shall be guilty of a Class 3 misdemeanor and shall be fined not more than five hundred dollars ($500.00). No fine shall exceed fifty dollars ($50.00) unless the ordinance expressly states that the maximum fine is greater than fifty dollars ($50.00).

(b) If any person shall violate an ordinance of a county, city, or town regulating the operation or parking of vehicles, he shall be responsible for an infraction and shall be required to pay a penalty of not more than fifty dollars ($50.00).

(c) A person may not be found responsible or guilty of a local ordinance violation punishable pursuant to subsection (a) of this section if, when tried for that violation, the person produces proof of compliance with the local ordinance through any of the following:

(1) No new alleged violations of the local ordinance within 30 days from the date of the initial alleged violation.

(2) The person provides proof of a good‑faith effort to seek assistance to address any underlying factors related to unemployment, homelessness, mental health, or substance abuse that might relate to the person's ability to comply with the local ordinance. (1871‑2, c. 195, s. 2; Code, s. 3820; Rev., s. 3702; C.S., s. 4174; 1969, c. 36, s. 2; 1985, c. 764, s. 2; 1985 (Reg. Sess., 1986), c. 852, s. 17; 1991, c. 415, s. 1; c. 446, s. 1; 1993, c. 538, s. 8; c. 539, s. 9; 1994, Ex. Sess., c. 24, ss. 14(b), 14(c); 1995, c. 509, s. 133.1; 2021‑138, s. 13(c).)