Md. Code, Election Law § 5-201
§5–201.
An individual may become a candidate for a public or party office only if the individual satisfies the qualifications for that office established by law and, in the case of a party office, by party constitution or bylaws.