Md. Code, Real. Prop. § 8-206

Current with effective changes from the 2024 legislative session, chs. 2-121
Section 8-206 - Retaliatory evictions in Montgomery County
(a) Evictions described in subsection (b) of this section are called "retaliatory evictions".
(b) No landlord may evict a tenant of any residential property in Montgomery County because:
(1) The tenant has filed a complaint against the landlord with any public agency;
(2) The tenant has filed a lawsuit against the landlord; or
(3) The tenant is a member of any tenants' organization.
(c) If the judgment is in favor of the tenant in any eviction proceeding for any of the defenses in subsection (b) of this section, the court may enter judgment for reasonable attorney fees and court costs against the landlord.
(d) Nothing in this section restricts the authority of Montgomery County to legislate in the area of landlord-tenant affairs.
(e) In addition to any other remedies provided under this title, Montgomery County may, by local law, establish authorization for a local agency to invoke enforcement procedures upon an administrative determination that a proposed eviction is retaliatory as prohibited by State or local law. These enforcement procedures may include injunctive or other equitable relief.

Md. Code, RP § 8-206