This is an appeal from a judgment which followed the sustaining of a demurrer to the complaint. The complaint is one in equity to enjoin the enforcement against plaintiffs of the same ordinance of the city and county of San Francisco which was attacked, by the petitioner in
In re
Mares,
“Many persons other than plaintiffs and other than plaintiffs’ agents and employees have, on numerous occasions, violated with impunity the provisions of said ordinance in that they have, on the public streets .and sidewalks of said City and County and in areas, doorways and entranceways immediately abutting thereon, solicited, and are continuing to solicit, the sale, to persons on said places, of subscriptions to magazines and periodicals for future delivery, and have sold, and are continuing to sell, to persons on such places tangible personal property to be delivered to the purchasers thereof at subsequent times.
“None of said other persons who have so violated the provisions of said ordinance have ever been arrested or prosecuted, or in anywise molested by defendants, or by either of them, or by any of the agents or representatives of defendants, or of either defendant, or by any of the police officers of said City and County of San Francisco.
“Defendants, their agents and representatives, and police officers of said City and County of San Francisco who act under the authority of said defendant Chief of Police, have at all times had notice and knowledge of said violations of said ordinance by said third parties as aforesaid, and, possessing such notice and knowledge, defendants, their agents and representatives, and said police officers, with intent to discriminate against plaintiffs and plaintiffs’ said business, have at all times deliberately refrained from enforcing said ordinance as against said third party violators thereof.”
The plaintiffs by these allegations bring their case within the principle first announced in
Yick Wo
v.
Hopkins,
Respondents argue that mere lax enforcement of a law or ordinance violates no constitutional rights. This is a correct statement of the law, but appellants allege more than mere laxity of enforcement. They plead that the ordinance is enforced against them and no others “with intent to discriminate against plaintiffs and plaintiffs’ said business.” This brings them squarely within the rule announced in
Glicker
v.
Michigan Liquor Control Commission, supra; Snowden
v.
Hughes,
Respondents further argue that equity will not enjoin a criminal prosecution. “It is settled that where a penal statute causes irreparable damage to property rights, the injured party may attack its constitutionality by an action to enjoin its enforcement.”
(Jones
v.
City of Los Angeles,
For the guidance of the trial court it is proper to point out that if the proof satisfies the court that the ordinance is being enforced against appellants with intentional discrimination any injunction issued by the court should be so framed as to permit the future enforcement of the ordinance against *340 all violators without discrimination if the defendants see fit in the proper performance of their duty so to enforce it.
The judgment is reversed with directions to overrule the demurrer to the complaint.
Nourse, P. J., and Goodell, J., concurred.
