delivered the opinion of the court.
This is a suit under the Uniform Declaratory Judgments Act for the purpose of determining the validity of c. 234, S. L. of Wyoming, 1961 (§§ 26-67.1 — 26-67.11, W.S. 1957 (1961 Cumulative Supp.)). The law previously required a licensе of insurance agents and brokers. The Act in question created a board of insurance agent examiners and provided for the written examination of insurance agents but exempted from its provisions four classes of persons, those selling insurance for fraternal benefit societies; thosе representing public carriers who, in the course of said representation, solicit or sell insurance incidental to *925 the transportation of persons or to the storage or transportation of property; those soliciting or selling insurance in connection with credit life and crеdit health and accident insurance transactions; and those soliciting or selling insurance in connection with motor vehicles sales transactions.
Plaintiff, an insurance agent who claimed injury by reason of the existence of the law, charged it was violative of §§ 2, 6, and 7, Art. 1, Wyo.Const., and § 27, Art. 3, Wyo.Const., and alsо violative of § 10, Art. 1, U.S.Const., and of the equal protection clause of the Fourteenth Amendment of the U.S.Const.
The trial court reserved and certified tо the supreme court as a difficult constitutional question the following:
“Is Chapter 234, Wyoming Session Laws, 1961, Pages 591 to 594, inclusive, unconstitutional in contravention of Article 1, Sections 2 and 7 of the Constitution of Wyoming, and/or Article 6 [sic] of the Wyoming Constitution, the 14th Amendment to the Constitution of the United States, and/or Article 1, Section 10, of the Constitution of the United States, and/or Article 3, Section 27 of the Wyoming Constitution ?”
Plaintiff concedes that insurance being a business affecting the рublic interest is subject to state control and regulation but charges that the exemptions of the mentioned insurance agents are unreasonable, arbitrary, and unrelated to the purpose of the statute and argues that there is no real difference between those who are relieved from taking the examination and other insurance agents.
No consideration need be given to the first three exemptions since plaintiff’s cоunsel presented no sound reasons in support thereof and indicated that objection to them was only nominal. Miller v. Board of County Commissioners оf the County of Natrona,
In the parties’ stipulation, they assume that the purpose of the questioned law is to cause insurance brokers and agents to be better qualified in insurance matters and to better protect the insurance buying public frоm unqualified insurance agents and brokers, and they agree that persons who solicit and sell insurance in connection with motor vehicles sales trаnsactions sell all of the same types and varieties of insurance as do persons who sell motor vehicle insurance and are required to take and pass the insurance examination before being licensed and that persons who solicit and sell insurance in connection with motоr vehicle sales receive commissions.
In a challenge of the unconstitutionality of a statute, a primary rule is that announced by In re Trent’s Claim,
Also, in State v. Langley,
Such restrictions as we have imposed upon our determination of constitutional questions do not relieve us of the obligation to resolve аny question of violation which is presented. The trial court’s findings are to the effect that the persons in the exempted class sell all of the same types and varieties of insurance as do persons engaged in the general commercial insurance business. A literal interpretation of thе exemption portion of the statute indicates that all types of insurance coverage, in connection with a motor vehicle sales transaction, may be sold. The wording of the exemption is so broad that it constitutes an unreasonable and unwarranted discrimination which cannot be justified either as a proper exercise of police power or shielded under the cloak of classification.
In Miller v. Board of County Commissioners of the County of Natrona, supra,
From what has been said, it follows that the challenged exemption is unconstitutional and void. This determination does not of itself render the entire stаtute invalid. We noted in McFarland v. City of Cheyenne,
