delivered the opinion of the Court:
There has been a question made as to the sufficiency of the terms of the affidavit of defence, under the rule of court, apart from the subject-matter of the defence, set up in the affidavit. But, with the view we have of this case, that objection is immaterial, and need not be considered.
The two principal questions presented on the affidavit of
1. With respect to the first of these questions, it is a well known attribute of a notary public, that he is a public officer, recognized as such by the common law,' the civil law, and the law of nations. Governor v. Gordon,
The terms of the agreement, as set forth in the affidavit, are, that the defendant would employ the plaintiff to do all its notarial work, and that the plaintiff would accept in full payment for- his services fifty per centum or one-half of the legal fees chargeable therefor, as fast as collected by the defendant, and the other half to be retained by the defendant as its own. This, in effect, was an assignment of one-half of the fees as earned in the future, and not the assignment of fees then actually, earned and, due. Such an assignment is clearly not’ allowable. It has been decided in many cáses, that an assignment by a public officer of the salary or fees of his office before due and payable, is contrary to public policy- and void (Bangs v. Dunn, 66 Calif. 72; Schloss v. Hewlet,
And in principle, the case of Meguire v. Corwine,
It is argued, however, on the part of the defendant, that if the agreement set up in the affidavit of defence be void as in contravention of public policy, the plaintiff is- not entitled to judgment under the rule of court, because he is in pari delicto with the defendant, and therefore not entitled to recover the money retained by the defendant. But there is a distinction between the position of the plaintiff and that of the defendant in this action. The plaintiff asserts a right to recover the amount of fees earned and allowed by law, and which the defendant has received and unlawfully detains from him. To repel this claim, the defendant sets up a collateral and independent contract, as a defence, whereby it was agreed that the fees sued for should be retained by the defendant. The plaintiff in this action does not claim by or through the contract set up by the defendant, but his claim is quite independent of it. Jt is founded upon his legal rights as prescribed by the statute. It seems to be well established by the decisions, that the test, whether a demand connected with an illegal transaction is capable of being enforced at law, is, whether the plaintiff requires any aid from the illegal transaction to establish his case. Simpson v. Bloss, 7 Taunt. 246; Atkinson v. Denby, 6 Hurl. & N. 778; S. C. Ex. Ch. 7 Hurl. & N. 934; Phalen v. Clark,
The action in this case not being founded upon the illegal agreement set up in the affidavit of defence,, but upon an independent consideration, not controverted by the defendant in its affidavit of defence, the judgment under the rule was properly entered.
The judgment, therefore, must be affirmed; and it is so ordered.
Judgment affirmed.
