The opinion of the court was delivered by
Royce, Ch. J.
The above cases were heard together. The first question made in argument is as to the right of the plaintiff to sue in its corporate name. When the receiver was appointed for the plaintiff, in 1881, there were statute laws in Pennsylvania, in which State the plaintiff corporation was located, which made it the duty of certain designated courts and judges, when it should be made to appear in the manner required by the statutes that any insurance company was insolvent, or the interests of the public so required, to decree a dissolution of such company and a distribution of its assets, and, if necessary, to appoint a receiver to take charge of its estate and effects and collect the debts and property due and belonging to it, with the power to prosecute and defend suits in the name of the corporation or otherwise, and do all other acts which might be done by said corporation, if in being, that were necessary for the final settlement of the unfinished business of the corporation. It is alleged that at a session of the court of common pleas held in and for the county of Lycoming on the 8th day of October, 1881, it appearing that the assets of the plaintiff company were not sufficient for carrying on its business, it was ordered to be dissolved, and J. A. Beecher, (who is prosecuting these suits in the name of the plaintiff), was appointed receiver, with the customary powers given to such an officer, and in accordance with the act of the assembly of the State of Pennsylvania in such case made and provided. By virtue of the act referred to in the order making the appointment, the right was conferred upon the receiver to prosecute suits, in the name of the corporation as far as the court could confer power. The general rule is, that the jurisdiction of a receiver is limited to the jurisdiction making the appointment; but exceptions have been frequently *530recognized to that rule, growing out of the condition of the property of which he has been appointed receiver, the order making the appointment and the necessity of according to him extra-territorial jurisdiction. In Ellis v. Boston &c. R. R. Co., 107 Mass. 1, an order for the appointment of a receiver of the entire line of the defendant company’s road, which extended from Boston, Mass., to Fishkill, N. Y., was affirmed. The same question was so decided in Wilmer v. Atlantic &c. Co., 2 Woods, 418, in which case the court say : “We think the courts of other jurisdictions would feel constrained, as a matter of comity, to afford all necessary aid in their power to put the receiver of the court in possession.” In Bagby v. Atlantic &c. R. R. Co., 86 Pa. St. 291, the right of a foreign receiver to sue in Pennsylvania was affirmed. In Hurd v. City of Elizabeth, 41 N. J. L. 1, it was decided that the legal effect of the appointment of a receiver in a foreign jurisdiction in transferring to him the right to collect the property passing under his control by virtue of such office, will be so far recognized by courts of this State (New Jersey), as to enable such officer to sustain a suit for such recovery. The cases where this right has been denied have generally been where creditors in the foreign jurisdiction have intervened. In such cases the courts have held that they would not allow the property of the receivership to be removed from their jurisdiction or appropriated by a receiver appointed in a foreign jurisdiction until the claims of citizens resident in the jurisdiction where the property is situate, were satisfied. Here, as we have seen, all the effects of the company passed to the receiver. No creditor has intervened to prevent the prosecution of the suit, or asserted any claim to what may be realized from its prosecution. Upon principle and authority we think the suit may be prosecuted in the name of the plaintiff.
It remains, then, to be determined whether upon the demurrer to the pleas they are to be held sufficient in form and good in substance. The special causes of demurrer assigned to the second plea are that it amounts to the general issue, and is argumentative in alleging : “ Wherefore the said defendants say that said pre*531mium note was and is void.” As we construe the plea, it substantially admits the making of the contract declared on and sets up matter in avoidance of it by stating that the defendant was induced to make it by the fraudulent representations made to him as to the financial condition of the company. It is elementary that such a defence may be specially pleaded. Chit. Pl. 480 and 526 ; Gould Pl. c. 6, ss. 44, 56, 70, 72 and 80 ; Read v. Ins. Co., 54 Vt. 413. And the fact that the defendant may avail himself of the same defense under the plea of the general issue does not necessarily preclude him from pleading it specially. See authorities before cited. When it is considered that it is to the advantage of the plaintiff that the defence should be specifically set out in a special plea, the court will not be astute in discovering or inventing technical reasons to deprive the defendant of the benefit of such a plea. Neither is the plea rendered argumentative by the use of the words specified in the demurrer. The word “wherefore” is defined as meaning “ for which reason ”;. and applying that meaning the averment would read, “ for which reason the defendants say that the premium note described in the declaration was and is void in law.” The word “ which ” refers to the reason before stated in the plea, and the averment states a conclusion of law. It is not a professed averment of any issuable fact and leaves nothing to be ascertained by inference or argument.
The demurrer reaches back to the first substantial defect in the pleadings. It is claimed that the declaration is defective in not alleging that at the time of entering into the contract declared upon, the plaintiff company was licensed to transact insurance business in this State. The constitutional right of the legislature to pass such laws upon the subject of foreign insurance companies as were in force at the time the contract was entered into, is admitted. It was provided by statute then existing, s. 3610, R. L., that it shall not be lawful for any foreign insurance company to transact insurance business in this State, unless such company shall first obtain a license of the insurance commissioners author izing the company to do so. The obtaining of such a license' was made a condition precedent to the right of the plaintiff to *532enter into a legal contract. When the right of a contracting ■ party to make a contract is dependent upon his compliance with the requirements of a statute of the State which prescribes duties to' be performed by such party as a condition precedent to his right to make the contract, he must aver and prove a compliance with such requirements; he must set forth in his declaration all such facts as áre necessary to show that he has a legal cause of action ; and to show a legal cause of action it must appear that he had the legal right to make the contract upon which the action is predicated. Kent v. Lincoln, 82 Vt. 591.
The declaration is fatally defective in not alleging that the plaintiff company had obtained a license which was in force, to transact insurance business at the time the contract was entered into, unless the defect is cured by the last plea. The language whch it is claimed has that effect is that, “ before obtaining or receiving a license from the insurance commissioners authorizing said plaintiff to transact insurance business in this State and before entering into the contract declared upon,” etc. This, it is claimed, is to be construed as an admission that such a license had been obtained. Treating it as such an admission, it does not cure the defect complained of. It was not enough to allege that the plaintiff company had obtained a license; it should have been alleged that it had a license which was in force at the time the contract was entered into. In Ralston v. Strong, 1 D. Chip. 287, it is said by Judge Ohipman that a plea may, by a direct admission of facts omitted or obscurely expressed, aid the declaration. That we think expresses the true rule; and applying it to the language here used, there was no such admission made that a license had been obtained at any time, so that the defect in the declaration was not cured by the plea. The case might well be disposed of by adjudging the declaration insufficient, but inasmuch as the whole case has been elaborately and ably argued, we have thought best to consider the question of the sufficiency of the pleas as a defence.
The first special plea alleges, in substance, that the defendant was induced to enter into the contract declared upon by' the false *533and fraudulent representations made to him by the plaintiff company in relation to its financial condition and solvency; that it was represented to him that the plaintiff company then had a large surplus of money in its treasury and was solvent; that said representations were false, and that the plaintiff company did not have any surplus of money in its treasury, and was insolvent. The facts thus alleged being admitted by the demurrer, the defendants invoke the application of the principle that is as old as the common law — that fraud vitiates all contracts. Those facts constituted a full and perfect defence to the action. . The question whether the contract was binding on the plaintiff company is not in issue and is not decided; and we make no comment on that portion of the plaintiff’s argument further than to say that it is not always competent for the. party who has'been guilty of a fraud on the other party to an agreement, to avoid the contract on that ground. Taylor v. Weld, 5 Mass. 116.
The other pleas allege that the plaintiff company had not, at the time of the making of the contract declared upon, filed a certified copy of its by-laws with the Secretary of State, or become responsible for the acts and neglects of its agents, as required by the statutes. The duty of the plaintiff company to comply with the law in those respects is conceded; but it is claimed that a neglect to comply with it does not render the contract illegal so that it cannot be enforced. The claim made that a license is evidence that the. party had done all that was necessary to his right to it need not be considered, because it does not appear that a license had been obtained. The general rule is that a contract which is prohibited by law is an illegal contract, and a party entering into such a contract cannot enforce it. It is competent for the legislature to determine the conditions upon which foreign insurance companies may transact business in this State. The conditions constitute a part of the law and they 'cannot qualify themselves to transact such business without complying with them. All business transacted by them without such compliance is an illegal business, and all contracts entered into as a part of such business are unenforceable. In Harris v. Runnels, 12 Howard, 79, it is said that, “ Where a statute expressly prohibits an act, a *534contract in violation of its provisions is void.” It is insisted, however, that this case does not come within the above rule because it is not within the intention of the statute. It is said in the case last cited, and re-announced in Mining Co. v. Bank, 6 Otto, 641, and Bank v Matthews, 8 Ib. 627, that the whole statute must be examined to discover whether it intended to prevent courts of justice from enforcing contracts in relation to the act prohibited. Upon examination of the statutes we are satisfied that the intention was to prevent the enforcement of contracts made by such companies until they had complied, with the law. Unless such was the intention, the legislation was of no avail, and such companies might disregard it with impunity. The principal purpose of the statute was for the protection of the insured. In contracts of insurance the by-laws of the company are generally made a part of the contract; hence the necessity for the insured to have the opportunity of ascertaining what they are, so that he may comply with them. It is likewise important for him to know if the company is responsible for the acts and neglects of its agents, so that he may understand that when a representation is made to him by an agent, or an act is performed by such agent, he can rely upon it as a representation made or act performed by the principal. The conditions prescribed are, in our judgment, eminently reasonable, proper and just, and such as no solvent, responsible company has any right to complain of.
The pleas demurred to are sufficient, but the- judgment overruling the demurrers is reversed pro forma, and causes remanded in order that the plaintiffs may apply for leave to amend their declarations.
By act of the Legislature, No. 95 of Public Acts of 1882, the time for holding the Supreme Court of Washington County was changed from August to May.