; or (ii) falsifies, tampers with, renders inaccurate, or fails to install any monitoring device or method required to be maintained under this Act. (B) Second violation If a conviction of a person under subparagraph (A) is for a violation committed after a first conviction of the person under that subparagraph, punishment shall be by a fine of not more than $50,000, imprisonment of not more than 2 years, or fine and imprisonment. (2) Knowing violations (A) In general A person shall, on conviction, be punished by a fine of not more than $25,000, imprisonment for not more than 1 year, or both if the person willfully and knowingly— (i) engages in mineral activities without a permit if required under section 302 or 303