In the complaint in this case it is alleged that the defendant, on the 8th day of August, 1893, in violation of sections 20, 22, and 37 of chapter 338 of the Laws of 1893, entitled “An act in relation to agriculture,” offered for sale and sold a quantity of adulterated and impure milk to a certain creamery, and thereby incurred the penalty of $100 provided by said section 37, and became indebted to the plaintiff thereby in the sum of $100. Upon the trial the plaintiff gave evidence tending to show that at the date referred to the defendant sold milk which was adulterated,, within the standard laid down in section 20 of the act. At the close of the plaintiff’s evidence, the defendant made a motion for a nonsuit on the grounds that the plaintiff has failed to establish a cause of action, and that it is necessary for the plaintiff to allege and prove that this action was brought by the state dairy commissioner. There was no such allegation in the complaint, or proof, and for this reason, as the counsel on both sides concede, the nonsuit was granted. By section 37, above referred to, it is provided that:
“Every person violating any of the provisions of this article shall forfeit to the people of the state of New York the sum of one hundred dollars for every such violation.”
Section 8 of the act is as follows:
“Sec. 8. Prosecution for Penalties. Whenever the commissioner of agriculture shall know or have reason to believe that any penalty has been incurred by any person for a violation of any of the provisions of this chapter, or that any sum has been forfeited by reason of any such violation, he may cause an action or proceeding to be brought in the name of the people for the recovery •of the same.”
By section 9 it is provided that one-half of the recovery shall be paid to the county for the benefit of the poor, and the other half be paid into the treasury of the state, and be applicable to the payment of the expenses of the department of agriculture. By section 2 the commissioner of agriculture is authorized to employ such agents and counsel as he may deem necessary for the proper enforcement of the laws relating to agricultural products. The claim of the defendant is that it was necessary for the plaintiff to allege in the complaint, and prove, that the action was caused to be brought by the commissioner of agriculture. There is nothing in the statute that requires this to be alleged or proved as part of the cause of action. On the contrary, the occasion or propriety of giving such authority is predicated on the fact that a cause of action exists. The cause of action accrues to the people upon the violation of the statute. In the complaint the particular acts or omissions which constitute the cause of action are to be
*586set forth. People v. Brooks, 4 Denio, 469. Very clearly, the action of the commissioner under section 8 is not any part of the cause of action. Nor does it affect the ownership of the right of action, for by section 37 it is only given to the people, and there is no provision for bringing suit in the name of any other party. The objection of the defendant, therefore, must go either to the capacity of the plaintiff to sue or to the authority of the plaintiff’s attorney to-appear. If the objection is deemed to relate to the capacity of plaintiff to sue (Insurance Co. v. Baldwin, 37 N. Y. 648; Perkins v. Stimmel, 114 N. Y. 359, 21 N. E. 729; Nanz v. Oakley, 122 N. Y. 631, 25 N. E. 263; People v. Eckman, 63 Hun, 212, 18 N. Y. Supp. 654), then the defendant is not in a position to raise it, as it is not raised by demurrer, or in the answer. Code, § 499. If the objection relates to the right of the plaintiff’s attorney to appear for the plaintiff and bring the suit, then, as a general rule at least, that is matter for a motion before the trial, and is not an issue to be disposed of at the trial. Clark v. Fitch, 2 Wend. 464. In People v. Denison, 17 Wend. 312, which was an action of ejectment, the defendant offered to prove that the suit was prosecuted by an attorney of the court for the benefit of individuals, without the knowledge or permission of the attorney general of the state, as required by sections 10 and 11 of title 5, c. 8, pt. 1, Bev. St. (1 Bev. St. p. 180). This was ruled out, and on appeal the ruling was held to be correct, the court saying that “the defendant must avail himself of such an objection on motion to set aside the proceedings. The question is one of practice, not of title or jurisdiction. For the purposes of the trial, the court should presume that the suit had been regularly commenced.” An irregularity in the mode of commencing a suit cannot be taken advantage of at the trial. Daniels v. Patterson, 3 N. Y. 47. The remedy by motion was employed in Commissioners of Excise v. Purdy, 36 Barb. 266, and Sutter v. Fauble, 25 Hun, 195. When a party appears by attorney, a retainer will, as a general rule, be presumed. Hamilton v. Wright, 37 N. Y. 502. It is not claimed that section 1962 of the Code applies to this casé. Here special provision is made for the manner of the enforcement of the penalties under the agricultural law. A particular department is charged with the duty of executing that law. Section 2 of the act.
The defendant relies on the case of People v. Belknap, 58 Hun, 241, 12 N. Y. Supp. 143. That was an action to recover penalties given by sections 23 and 24 of the game law of 1879 (Laws 1879, c. 534). The summons and complaint were not signed by any district attorney, and there was no allegation or claim that the action had been commenced under the direction of any fish or game protector or other officer. It was held that the action was not maintainable, and a judgment for penalties was reversed. In that case, unlike the present one, the question of capacity of plaintiff to sue was raised by the answer. It is also to be observed that the sections under which in that case the penalties were claimed provided simply that the party offending “shall be liable” to a certain *587penalty, without stating to whom. By other provisions of that or subsequent acts the penalties could be sued for by any person in his own name, or by the district attorney of the county in the name of the people, either on his own motion or by the direction of a game protector; and in certain cases the game protector could employ other counsel to commence suits in the name of the people. In the present case the statute in terms gives the penalty or forfeiture to the people, and an action is not authorized in the name of any one else. We think that the Belknap Case is materially different from the present one, and should not be deemed to be controlling in this case. It was not necessary for the plaintiff, in stating the facts constituting its cause of action, to state that its agent had authorized the bringing of the suit. If, for any reason, the plaintiff had not capacity to sue, the defendant waived the objection by not taking it by answer or demurrer. If the plaintiff’s attorney had no right to appear for the plaintiff, the question should have been raised before the trial, within the principle of the case of People v. Denison, supra. We think that the motion for a nonsuit should not have been granted.
Judgment reversed on the exceptions, and a new trial ordered, with costs to abide the event. All concur.