Maryland Statutes
Subtitle 3 - Prostitution and Related Crimes
Section 11-303 - House of Prostitution

(a)    A person may not knowingly:
        (1)    engage in prostitution or assignation by any means; or
        (2)    occupy a building, structure, or conveyance for prostitution or assignation.
    (b)    A person who violates this section is guilty of a misdemeanor and on conviction is subject to imprisonment not exceeding 1 year or a fine not exceeding $500 or both.
    (c)    (1)    Subject to paragraph (2) of this subsection, in a prosecution under this section, it is an affirmative defense of duress if the defendant committed the act as a result of being a victim of an act of another in violation of Title 3, Subtitle 11 of this article or the prohibition against human trafficking under federal law.
        (2)    A defendant may not assert the affirmative defense provided in paragraph (1) of this subsection unless the defendant notifies the State’s Attorney of the defendant’s intention to assert the defense at least 10 days prior to trial.