delivered the opinion of the court.
Plaintiff in error, to whom we shall refer as defendant, was convicted of the violation of an ordinance of the City of Colorado Springs which, so far as pertinent, reads as follows: “It shall he unlawful for any person, firm, association or corporation to keep open or to cause any person to keep open any store for the sale of merchandise on Sunday, except when required by necessity; but nothing in this section shall prohibit any person, firm, association or corporation from keeping open for the legitimate and orderly transaction of business any hotel, restaurant, boarding house, hath house, confectionery, retail drug store, livery stable or garage or prevent the sale or delivery of milk, cream, ice cream, fresh fruits, bakery articles, prepared tobacco or papers on Sunday.”
The case was heard on the following stipulated facts:
Page 500‘ ‘ 1. That at the time alleged the defendant conducted a grocery store in the City of Colorado Springs, and on the day alleged, which day was Sunday, sold in the usual course of his business certain staple groceries which were not required by necessity, except as all groceries and the sales thereof are required by necessity. 2. That at the same time, retail drug stores in the city, in the usual course of their trade, sold on Sundays and other days, such items as soaps, flavoring extracts, teas, coffees, spices and similar products usually carried by retail grocery stores.”
Among other contentions the defendant asserts that as to him, under the facts of the case, the ordinance is in violation of section 25, article Y, of the Colorado Constitution inhibiting special and discriminatory legislation.
We think the judgment of conviction must be reversed on this ground.
Unquestionably it is the law that a city, in the exercise of the police power, has the authority by general ordinance to prohibit the carrying on within its limits of all businesses or occupations on Sunday, except those of necessity or charity, upon the ground that thereby the peace, good order, good government and welfare of its inhabitants will be promoted and protected. It is equally certain, however, that if in its operation an ordinance so adopted is discriminatory or amounts to class or special legislation, irrespective of the purpose for which it is passed, it is the duty of a court to relieve from its illegal effect.
It will be observed that the ordinance here under consideration provides generally: First, that it shall be unlawful for any person to keep open any store for the sale of merchandise on Sunday, except when required by necessity; second, permits the sale on Sunday by any person, of milk and other enumerated articles; and, third, exempts absolutely from its operation, in the legitimate and orderly transaction of business, certain
This court, in Denver v. Bach, 26 Colo. 530, 58 Pac. 1089, held unconstitutional an ordinance in principle so offending. In that case the defendant was charged with the violation of an ordinance of the city of Denver which prohibited any person “to keep open or conduct, within the limits of the city, any clothing or other certain enumerated stores, * * * or offer for sale * * * within the city, any clothing or other articles of merchandise mentioned * * * on Sunday.” The evidence established that the defendant kept a clothing store in the city and had sold merchandise of that character in his place of business on Sunday. He was discharged by the trial court, and we affirmed the judgment, saying upon this subject:
“The city, in the exercise of its police powers, may subject all occupations within its limits to reasonable regulations, for the protection of the public interests, orPage 502for the public welfare; but this power is not an arbitrary one, for the avocations which may be controlled by police regulations is a judicial question. Eden v. People, 161 Ill. 296. It certainly cannot be of any benefit to either the welfare or good government of the city, to limit the exercise of a common right to engage in the business of merchandising in the city, by arbitrarily imposing upon dealers.in certain articles disabilities upon Sunday, and yet allow others, who happen to be engaged in a business or avocation of a different character, neither necessary nor charitable, to continue it upon that day, although the effect upon the public generally, by permitting such business or avocations to be carried on would be the same as would result from the carrying on of business on Sunday by those prohibited from so doing. * * #
“It is clear that the ordinance, in so far as it affects dealers in clothing, is directed to a particular class of merchants, and exempts others without any substantial reason back of it why it is made to operate only upon them, and not generally upon all dealers in merchandise, or all avocations. It compels them to refrain from doing business on Sunday, and yet allows their neighbors engaged in the sale of articles not mentioned in the ordinance a privilege which they are denied. We conclude, therefore, that the ordinance does not affect all alike, and that a business or occupation which is not liable to interfere with public morality, or tend to create disorder, and over which the city has no special control, cannot be singled out, and made the subject of prohibition on Sunday. May v. People, 1 Colo. App. 157; City of Tacoma v. Krech, supra; State v. Granneman, 132 Mo. 326.”
The Colorado Springs ordinance, while not naming the operation of a grocery store as a business which could not be conducted on Sunday, attained the legal effect condemned in the Denver ordinance, by excluding grocery stores from the exempted class which could operate and, at least in the case of retail drug stores,
The judgment is accordingly reversed and the cause remanded with directions to dismiss the proceedings against the defendant.
Mr. Justice Hilliabd and Mr. Justice Bakke dissent.