The answer served by the defendant in its 1st subdivision admits certain allegations contained in the amended complaint. *438In the 2d subdivision defendant “ denies each and every other allegation in said complaint contained, not hereinbefore or hereinafter admitted, qualified, explained ór denied.” The 3d subdivision, in which is contained the alleged irrelevant ayd scandalous matter, is as follows: “ For a separate defense the defendant alleges that on or about .the 20tli day-of March, 1907, the plaintiff assigned and delivered to the defendant said twenty-seven shares of the capital stock of said Standard Electrical Construction Company, but the plaintiff, in violation of the statute in such case made and' provided, did not pay, at the. time of said transfer, the tax of two cents per share upon each of said twenty-seven shares of said capital stock, and did not affix to the certificate of stock by which such transfer was effected, the adhesive stamp or stamps required by the statute, and by reason thereof this plaintiff became, was and still is guilty of a misdemeanor, and became, was and still is liable to a penalty in a civil action for $500.00, and the said pretended transfer was and is illegal, void and of no effect.”
By the 4th subdivision of the answer the defendant sets up a counterclaim to the cause of action set forth in the complaint.
Buie 22 of the General Buies of Practice provides : “ Motions to strike out irrelevant matter; notice of.— Motions to strike out of any pleading'matter alleged to be irrelevant, redundant or scandalous, and motions to correct a pleading * *' * must be noticed before demurring or answering the pleading and within twenty days from the service thereof. The time to make such motion shall not be extended unless notice of an application for such extension stating the time and place thereof of at least two days shall be given to the adverse, party.”
Section 514 of the Code of Civil Procedure provides1: “ Where the answer contains a counterclaim, the plaintiff, if he does not demur, may reply- to the counterclaim.' The' reply must contain a general or specific denial of each material allegation of the counterclaim controverted by the plaintiff * *
Section 515 of the Code provides: “ If the plaintiff fails to reply or demur to the counterclaim, the defendant may apply, upon notice, for judgment thereupon * *•
The reply served in this case denied all facts tending to establish the defendant’s counterclaim, and it was necessary that the plaintiff *439should so reply in order to avoid judgment being taken against him upon such counterclaim unless he procured an order extending his time to reply. Having replied under such circumstances he was not thereby deprived of his right to move to strike oiit any irrelevant and scandalous matter contained in the answer which was in no way connected with such counterclaim. It was not the intention of the rule in such case to prevent a plaintiff from making a motion like the one at bar because he served a reply to the counterclaim, which was necessary in order to protect his rights.
The purpose of the rule is to prevent an inconsistent proceeding in an action. In other words, if a defendant serves an answer to a complaint stating a single cause of action, he is deemed to have waived all irregularities contained therein, but in order that subsequent proceedings may be a waiver of prior irregularities, the subsequent proceedings must be such, or done under such circumstances, as to justify a logical inference of an intention to waive. Ho such intention can be inferred from the conduct of the plaintiff in this case. In the case of Kaughran v. Kaughran (73 App. Div. 150), where a party was sued individually and in a representative capacity, it was held that it was proper to answer in one capacity and demur in the other.
We think the ground upon , which the motion was denied was also untenable because of the stipulation which was entered into by the parties. The stipulation provided that the plaintiff’s time to reply or demur to any of the defenses set up in the answer served and to make any motion in reference to said answer be extended fifteen days from the 16th day of December, 1909, in case the defendant should elect not to serve an amended answer. Ho amended answer was served, and it would seem clear that by the terms of the stipulation the plaintiff had a right to reply to defendant’s counterclaim and to make any proper motion respecting the other defenses set up in the answer.
We think, however, that the motion was properly denied, because the words sought to be stricken out, of subdivision 3 of the answer, when taken in connection with the context, were not irrelevant or scandalous. By such paragraph the pleader only alleged, in substance, that the plaintiff had failed to affix stamps to the transfer of the stock in question, and practically only stated the statutory *440effect of such omission. The allegations of paragraph 3 are in • effect that the plaintiff failed to affix stamps to the certificate of transfer of the stock in question in violation of the provisions of the Tax Law, stating the substance of such law. If the . answer had alleged that the plaintiff had violated the provisions of the Tax Law and then had quoted the law, and had alleged that by reason of such violation the transfer was null and void, it could not be claimed, if such allegation constituted a defense to the plain tiff’s cause of action, that it could have been stricken out as irrelevant and scandalous.
Section 317 of the former Tax Law (Gen. Laws, chap. 24 [Laws of 1896, chap. 908], added by Laws of 1905, chap. 241, and amd. by Laws of 1906, chap. 414), which has been revised into section 272 of the present Tax Law (Consol. Laws, chap. 60; Laws of 1909, chap. 62), provides: “ Any person or persons who shall make any sale or -transfer without paying the tax by this' article imposed, or who shall in pursuance of any sale or agreement deliver any stock, or evidence of the sale of or agreement to sell any stock or bill or memorandum thereof, without having the stamps provided for in this article affixed thereto, shall be deemed guilty- of a misdemeanor, and, upon conviction thereof, shall pay a fine of not less than five hundred nor more than one thousand dollars, or be imprisoned not more than six months, or by both such fine and imprisonment, at the discretion of the court.” Section 322 of the former Tax Law (added by Laws of 1905, chap. 241), which has been revised into section 277 of the present Tax Law, provides for the recovery by the State Comptroller, by an action in his name as such Comptroller, of a civil penalty of $500, forfeited to the People of the State, in case of such violation.
If the foregoing were the only provisions of law relating to the subject, it might be well urged that it was irrelevant, as it constituted no defense to. plaintiff’s alleged cause of action. But section 323 of the former Tax Law (added by Laws of 1905, chap. 241), which has been revised into section 278 of the present Tax Law, provides: “No transfer of stock made after June first, nineteen hundred and five, on which a tax is imposed by this article, and which tax is not paid at the time of such transfer, shall be made the basis of any action or legal proceedings, nor shall proof thereof be offered or received in evidence in any court in this State.”
*441Under such circumstances, we think the defendant had a right to set up the fact that plaintiff did not pay the tax upon the transfer of the stock — to show all the circumstances connected with that transaction, and while upon this appeal we do not pass upon the question as to whether or not the allegations contained in the 3d paragraph of the answer constituted a defense to. plaintiff’s cause of action, such defense in the answer not having been demurred to, we think it cannot be said that it is irrelevant or scandalous to plead in substance the provisions of the statute providing for a penalty for failure to pay such tax.
We conclude that the order appealed from should be affirmed, upon the ground that the matter which it is sought to strike out of the 3d paragraph of the answer was not, Under the circumstances, irrelevant and scandalous.- But as the order appealed' from is not sustained upon the ground on which it was made, the order should be affirmed, without costs of this appeal to either party.
All concurred.
Order appealed from affirmed, without costs of this appeal to either party.