Any building, or part of a building, used for the purpose of fornication, lewdness, assignation, and/or prostitution is hereby declared to be a common nuisance; and any person who maintains such a common nuisance shall be guilty of a misdemeanor, and, upon conviction, shall be sentenced to imprisonment for not more than one year, or pay a fine not exceeding one thousand dollars, or both, at the discretion of the court.
68 P.S. § 467