Thе plaintiff brings this action for damages resulting from an automobile collision in the City of Fargo. In her complaint she alleges that she was, on March 11, 1948, a pay passenger in the taxicab driven by the defendant, Dallas Iverson, and owed by the defendant, Stewart Doyle, Inc., a corporation, engaged in the general cab business; that the defendant, Hartford Accident and Indemnity Company is a foreign corporation, engaged in the business of automobile liability insurance duly licensed in the State of . North Dakota, and the insurer of the defendant, Stewart. Doyle, Inc. indemnifying the public against damages from injury to person and property in the use *455 of its automobiles, as required, by Article 22, Sec 306 of the Revised Ordinances of the City of Fargo, North Dakota, 1939, as amended'by Ordinance No. 700 adopted December 29, 1943; that defendants, Robert W. Young and Mary A. Young, were husband and wife, owners of a Ford automobile used as a family purpose car; that at said time there was a collision between the cab driven by defendant Iverson, owned by defendant, Stewart Doyle, Inc., insured by the defendant, Hartford Accident & Indemnity Co., and the family car driven by the defendant, Mary A. Young, caused by the negligent and careless manner-in which the defendant, Iverson, drove his cab and defendant, Mrs. Young, drove her automobile at a certain intersection in the City of Fargo. Plaintiff claims that by reason thereof she was seriously injurеd and claims $26,000.00 damages.
To this complaint the defendants;, Stewart Doyle, Inc., Iverson and the Hartford Accident & Indemnity Co., interposed a separate demurrer on the grounds, first, that several causes of action were improperly united, and second, that plaintiff’s complaint did not state facts sufficient to constitute a cause of action against such defendants. The district court made an order sustaining the demurrer and for the dismissal of the action. Plаintiff appeals from that order assigning as error the sustaining of the demurrer and the dismissal of the action.
The Fargo City Ordinance involved is set forth in the complaint and reads as follows:
INSURANCE AND SURETY BOND REQUIRED
“The proprietors of licensed taxicab lines operating within the City of Fargo are hereby required to file with the City Auditor policies of insurance written by a company licensed to do business in the State of North Dakota or, in lieu thereof, a satisfactory surety bond indemnifying those using such taxicab line and the public in general against loss to person or property as follows: ' •
(1) Indemnity against property damage for which the taxicab proprietor is legally liable in the sum of not less than One Thousand Dollars ($1,000.00); ■
*456 (2) Indemnity against death or personal injury, for which the taxicab, proprietor is legally liable, in the sum of not less than Ten Thousand Dollars ($10,000.00) if to any one person and/or Twenty Thousand Dollars ($20,000.00) if to more than one person involved in any one accident.
' (3) The policy or bond shall contain a provision that the insurance company shall give the City Auditor fifteen (15) days notice of cancellation by registered mail.
(4) The form of, and sufficiency of, such policy or bond; and the surety thereon, shall be subject to the approval of the Board of City Commissioners.” :
As a ground for their claim that this' complaint does not state a cause of .action against'them,.respondents assert the invalidity of this ordinance. They argue that the city has no authority to pass an ordinance of this kind and that even if it had, it could not change a rule of public policy which they claim exists in North Dakota to the effect that the insurer cannot be joined with the insured as a defendant in the same damage action, nor the matter of insurance brought to the attention of the jury.
It is conceded that cities are merely agencies of the state and have оnly such powers'as are expressly granted to them or such as may he necessarily implied from the powers granted. City of Fargo v. Sathre,
'“A municipal corjDoration takes its powers from'the statutes which give it life, and has none which-are not either expressly or impliedly conferred thereby or essential to effectuate the purposes of its creation. In defining the corporаtion’s powers, the rule of strict construction applies, and any doubt as to their existence or extent must he resolved against the corporation-; but, the existence, and extent of such powers having been determined and measured, the rule of strict construction no longer applies, and the manner and means of exercising the same, where not prescribed by' the legislature, are left to the discretion of the municipal authorities.”
*457 It is common knowledge that' the driving and operation of a taxicab within a city limits is á difficult and dangerous operation. It involves traveling through congested traffic, sometimes on urgent missions' requiring speed, traveling over all 'kinds and conditions of streets and across intersections used by pedestrians. The very nature of the operation of taxicabs emphasizes the need of throwing precautions about it.' For the welfare of the people in such situations a rеsort, to the' police power is proper. Under that power statutory authority is granted to the city for that purpose in Sec 40-0501 NDB.C 1943, which provides that: ■
“The governing body of a municipality shall have the power: (Subsec.27) To license, tax,'regulate, and prescribe the rates charged by draymen, parcel delivery men, bus drivers, taxi drivers, porters, expressmen, watermen, and others' pursuing like occupations, and the operation of taxicabs.”'
The City of Fargo has attempted by the Ordinance here involved to' protect the public. It has attempted to provide ‘ security for all who have occasion to use the taxicab. It has made it a condition to the obtaining of a license and the operation of a taxicab, that the owner furnish an insurance policy “indemnifying those using such taxicab line and the public in general against loss to persons or property.” Such policy is for the benefit of anyone injured in such taxicab. That is well within the authоrity granted by Subsec 27 of Sec 40-0501, supra.
“A municipality is limited to the exercise of such powers as are expressly' conferred by statute, or as may be implied as necessarily incident thereto, still, in the exercise of such implied powers, it has the right to adopt all ordinary or usual means which may be necessary to their’ full execution. The regulation and control of Jitney bus traffic coming clearly within the powers of the municipality, the ordinance requiring thе operators of such busses to furnish to the' city a bond for the protection of persons who might be' injured in the conduct of' such business was the exercise of an ordinary and necessary means of regulating such traffic.” Transylvania Casualty Insurance Company v. City of Atlanta, 35 Ga App 68,
*458 “A municipality under its police powers to regulate the operation of public service motor vehicles within the city limits, may require such a bond, policy of liability insurancе, or other security, as a condition to the operation of such motor vehicles for hire upon the streets of the municipality.” 60 CJS 397.
Many cities have an ordinance like the one here in question and the courts have uniformly held such ordinances valid. Kruger v. Highway Indemnity Exchange, 201 Cal 672,
The respondents, however, daim that this ordinance is against the general lаws and public policy of the state and therefore invalid. They cite two statutes which prohibit making the insurer a defendant in a damage action against the insured and the bringing of the matter of insurance before the jury. They claim that establishes a public policy in this state.
The term “public policy” is vague -and uncertain. Justice Story held that anything, which “conflicts with the morals- of the time, and contravenes any established interest of society” is against public pоlicy. See Kitchen v. Greenabaum, 61 Mo 110, 115. It has been frequently held that “public policy is that principle of the law which holds that ‘no one’ can lawfully do that which has a tendency to be injurious to the public or against the public good.” 50 CJ 858.
“It is generally recognized that the public policy of a state is to be found in its constitution and statutes. Only in the absence of any declaration in these instruments may it be determined from judicial decisions. The Supreme Court has pointed out the limitations both of judicial declaration of public policy and of the application of the theory, stating that the theory of public policy embodies a doctrine of vague and variable quality and, unless deducible in the given circumstances from constitutional or statutory provisions, should be accepted as the basis of a *459 judicial determination, if at all, only with the utmost circumspection.” 11 Am Jur 813.
“Courts are not at liberty to declare a law void as in violation of public policy. Such policy is determined by the legislature, and the only limits upon the legislative power in such determination are those fixed in the state and Federal constitutions.” State ex rel. Linde v. Taylor,
The two statutes cited are Sec 49-1833, NDRC 1934, providing that any common carrier must file a liability insurance policy to guarantee the payment of any loss or damage resulting from its negligence, and Sec 39-1611, 1949 Suppl NDRC 1943, a part of the financial responsibility act applying to those who have lost their driver’s license. In both cases the probation against making the insurer a defendant and bringing the matter of insurance before the jury is limited to actions brought under these particular statutes and applies only to them.
Another declaration of the legislature bears upon this matter of whether such a policy as rеspondents claim has been established in this state. Sec 22-0206 NDRC 1943, provides:
“One who indemnifies another person against an act to be done by the latter is liable jointly with the person indemnified and separately to every person injured by such act.”
This .statute comes down to us almost verbatim from Sec 1356 of the Field Draft of the Civil Code for the State of New York, 1862, adopted as Sec 1644 of the Revised Code of the Territory of Dakota 1877. This statute has also been аdopted by California, South Dakota and Montana. The courts in those states have differed in their construction thereof. In the case of Moore v. Los Angeles Iron and Sheet Company, et al. 89 Federal 73, the circuit court, S. D. California, held that said statute “includes all cases of indemnity against future contingenices.” In Northam v. Casualty Company of America, 177 Federal 981, the Circuit Court D. Montana limits the section to apply only to cases of definite acts to be done by the indemnitee. This *460 court "has had no occasions to construe that statute, but even under the Northam case construction the right of allowing at least some indemnitors to be included as defendants with the indemnitees has long been recognized' in our laws.
The legislature'has established a general policy in this state by the enactment of Sec 28-0206 NDBC 1943, which provides that:
“Any person who claims an. interest in the controversy adverse to the plaintiff or who is a necessary party to a complete determination or settlement of the questions involved therein may be made a defendant.”
This section, together with Sec 28-0703 NDBC 1943, hereinafter set out establishes the policy of avoiding, multiplicity of suits. Appellees’ contention would make for such multiplicity.
The respondents claim that the failure of the last legislature to pass House Bill 112 permitting the insurer to be made a co-defendant with the insured in actiоns brought for damages for willful acts and negligence under Sec 9-1006 NDBC 1943, supports their contention. House Bill 112 passed the House but was indefinitely postponed by the Senate. That cannot be said to indicate any intpnt on the part .of the legislature. A public policy is declared by the action of the legislature not by its-failure to act. Read v. Shuston,
The respondénts urge that there exists in the minds of jurors prejudice against liability insurance companies, and that it is for that reason necessary, in all fairness, to keep their interest in the case away from the jury. That is an argument which should be addressed to the legislature.
Bespondents further’ argue that the ordinance in question tends to establish a change in procedure if it is construed to allow the insured to be made a party defendant and that the city has no authority to make such a change. We do not find any merit in that contention. No such result follows the adoption of the ordinance. The ordinance give's a person injured in a taxicab, insured by a liability policy given under the ordinance, a direct interest in that policy. It is for his benefit. It makes the *461 insurer directly liable to such person on proof of the liability of the insured taxicab owner. That is substantive law and has nothing to do with procedure. The general provision as to who shall be made parties, Sec 28-0206, supra, controls the procedure and is not affectеd in any way by the ordinance. Under that section the insurer, unless specially excepted by law, may be made a party defendant under a policy such as is provided by the Fargo ordinance.
Finally, respondents cite Beardsley v. Ewing,
We do not find that there is any such policy established -in this state as is contended for by the respondents. Cognate statutes are in conflict on that matter and -there is nothing from which such a public policy can be inferred. The Fargo Ordinance cannot be held invalid on that ground. The complaint states a cause of action against all the defendants.
The respondents next argue that'there is an improper joinder of causes of action. Our See 28-0703 NDRC 1943 provides:
“The plaintiff may unite in the same complaint several causes of action whether they are legal,. equitable, or both, where'they arise out of: 1. The same transaction or transactions connected with.the same subject of action; ... . The causes of action so united must all belong to one of these classes and, except in actions for the foreclosure of mortgages, must affect all the parties to the.action, and not require different places of trial, and must be separately stated.”
*462 In construing this statute this court has said:
“An examination of the authorities will convince that the modern trend is favoring convenience in litigation and toward obviating multiplicity of suits; and that the code provisions as to joinder of causes of action and parties must be construed and applied, where possible, without substantial prejudice to the rights of litigants, in the light of said principles of convenience and finality of decision. 30 Cyc 1228; Fairfield v. Southpоrt Nat. Bank,
■ In this case the cause of action stated against the defendants, the Youngs, the Stewart Doyle, Inc. and Iverson sounds in tort while the connection of the Hartford Accident & Indemnity Company with the cause of action is-based upon contract. The tort is the negligent driving resulting in a collision of the cars alleged to have caused the damage. The contract is the insurance policy between the Doyle, Inc. and the Hartford Accident & Indemnity Company given under the ordinance, and “Indemnifying those using such taxicab line . . . against loss to person or property.” The loss in this case is the damage alleged to have been suffered by the plaintiff as a result of such collision, caused by the negligence of the driver. Under these circumstances both causes of action arise out of the same transaction or transactions connected with the same subject of action, namely, the negligent driving resulting in the collision and damage.
Section 427 of the California Code of Civil Procedure specifically provides, like our Sec 28-0703 NDRC 1943, that several causes of action may be united in the same complaint where they arise “Out of the same transaction or transactions connected with the same subject of action.” In Grier v. Ferrant, suprа, the California Supreme Court holds:
“A taxicab company and its liability insurer were not improperly joined as parties defendant in action for injuries caused by company’s negligence, because one action sounded in tort and *463 the other in' contract, since whatever liability was incurred by insurer arose out of the tort action.”
In Fraher v. Eisenmann, 94 Cal App 48,
“Where policy insuring jitney driver was issued pursuant to city and county ordinance insurance carrier was properly jоined as"a party defendant in action for injuries from operation of jitney provided insurance policy or ordinance provided that it should insure to the benefit of the public.”
See also Gugliemetti v. Graham, 50 Cal App 268,
In Safeway Cab Co. et al. v. McConnel, 181 Okla 612, 75 Pac2d 884, the court holds:
“Under city ordinance requiring taxicab company to provide insurance coverage for each taxicab- operated by it, purpоse of which is to protect the public, plaintiff injured by taxicab operating under such ordinance may join insurance company as party defendant.”
That principle has been upheld in-many Oklahoma cases even where the policies are not as strong as the case at bar. Temple v. Dugger, 164 Okla 84, 21 Pac2d 482; Jacobson v. Howard, 164 Okla 88, 23 Pac2d 185; Graves v. Harrington, 177 Okla 448, 60 Pac2d 622; Enders v. Longmire, 179 Okla 633, 67 Pac2d 12; Miner v. Fowler, 180 Okla 45, 6 Pac2d 799.
In the case of Dunn et al. v. Jоnes et al. 143 Kan 218, 53 Pac2d 918, the policy filed by a motor company included a clause “indemnifying against the condition of being liable.” The court held obligation may be enforced by action brought directly against the insurer by the person sustaining the injury.
“An automobile liability insurer made directly liable by the statute for a liability created by the owner of the automobile is properly joined as defendant in an action against the owner.” 5 Am Jur 332. See also Biller v. Meyer (CCA7th) 33 F2d 440,
Somе cases have been cited by the respondents where joinder of insurer and insured have not been permitted. An examina *464 tion of those cases, however, shows that the statutes involved differ from those in North Dakota or that the policies under which the action was brought have provisions different from those provided by the Fargo ordinance. ■
For instance in the case of Ellis v. Bruce, 215 Ia 308,
In the case of Common School District v. Inch,
*465
In the case of Whitehorn v. Nash-Finch Co.
Smith Stage Co. v. Eckert, 21 Ariz 28,
The weight of authority in states where the statutes on joinder оf causes of action are similar to ours is to the effect that suit may be brought jointly against the insured and the insurer on causes arising out of the same transaction under policies issued for the benefit of the one injured. See Curtis v. Michaelson, 206 Ia 111,
The order of the district court sustaining the demurrer is reversed and the case remanded to the district court with directions to overrule the demurrer and give the respondents time to answer.
