A person who violates any provision of this subtitle is guilty of a misdemeanor and on conviction is subject to a fine not exceeding $5,000 or imprisonment not exceeding 3 years or both.