Code of Civil Procedure
An action may be brought by any person whose property is injuriously affected, or whose personal enjoyment is lessened by a nuisance, as defined in Section 3479 of the Civil Code, and by the judgment in that action the nuisance may be enjoined or abated as well as damages recovered therefor. A civil action may be brought in the name of the people of the State of California to abate a public nuisance, as defined in Section 3480 of the Civil Code, by the district attorney or county counsel of any county in which the nuisance exists, or by the city attorney of any town or city in which the nuisance exists. Each of those officers shall have concurrent right to bring an action for a public nuisance existing within a town or city. The district attorney, county counsel, or city attorney of any county or city in which the nuisance exists shall bring an action whenever directed by the board of supervisors of the county, or whenever directed by the legislative authority of the town or city.