(a)(1) Any person who, without lawful authority, shall enter, or attempt to enter, any private dwelling, building, or other property, or part of such dwelling, building, or other property, against the will of the lawful occupant or of the person lawfully in charge thereof, or being therein or thereon, without lawful authority to remain therein or thereon shall refuse to quit the same on the demand of the lawful occupant, or of the person lawfully in charge thereof, shall be deemed guilty of a misdemeanor, and on conviction thereof shall be punished by a fine of not more than the amount set forth in § 22-3571.01, imprisonment for not more than 180 days, or both. The presence of a person in any private dwelling, building, or other property that is otherwise vacant and boarded-up or otherwise secured in a manner that conveys that it is vacant and not to be entered, or displays a no trespassing sign, shall be prima facie evidence that any person found in such property has entered against the will of the person in legal possession of the property.
(2) For the purposes of this subsection, the term “private dwelling” includes a privately owned house, apartment, condominium, or any building used as living quarters, or cooperative or public housing, as defined in section 3(1) of the United States Housing Act of 1937, approved August 22, 1974 (88 Stat. 654; 42 U.S.C. § 1437a(b)), the development or administration of which is assisted by the Department of Housing and Urban Development, or housing that is owned, operated, or financially assisted by the District of Columbia Housing Authority.
(b) Any person who, without lawful authority, shall enter, or attempt to enter, any public building, or other property, or part of such building, or other property, against the will of the lawful occupant or of the person lawfully in charge thereof or his or her agent, or being therein or thereon, without lawful authority to remain therein or thereon shall refuse to quit the same on the demand of the lawful occupant, or of the person lawfully in charge thereof or his or her agent, shall be deemed guilty of a misdemeanor, and on conviction thereof shall be punished by a fine of not more than the amount set forth in § 22-3571.01, imprisonment for not more than 6 months, or both.