By the Court,
Sutherland, J.This is a motion to set aside the judgment for costs entered in thisx case against the plaintiff. The plaintiff sued as executor, and a verdict was rendered for the defendant; upon which, in August, 1S29, he entered up judgment for costs.
The only difficulty in the case arises from the fact stated in the affidavit of the defendant’s counsel, that (he declaration contains not only a count upon the note given to the testator, but also the money counts, staling the indebtedness to the plaint iffin bis own right. Independently of this circumstance, it would have been a gross irregularity in the defendant to have entered up his judgment against the plaintiff for costs, without a special application to the court. An executor is liable for costs only where lie prosecutes in bad faith, with full knowledge that he has no cause of action, or where the cause of action accrued wholly after the testator’s death, and might have been prosecuted in his individual name. Ketchum v. *92Ketchum, 4 Cowen, 87. And in such cases, a special application to enter sue!) judgment must be made to tlie court.
Where the declaration contains several counts, some of which allege the cause of action to have accrued in the life lime of the testator or intestate, and others after his dentil, and there is a general verdict, for the defendant, he will be entitled to costs, if the judge who tried the cause will certify that the plaintiff gave evidence applicable to Ihe latter counts ; but in this case, he must make a special application to the court for the purpose. Tilton v. Williams, 11 Johns. R. 403. 4 T. R. 277.
If the second count, is as slated by (lie defendant’s counsel, the declaration might, have been demurred to for a mis-joinder of counts; but having gone to trial, and the declaration containing one count in the character of executor, the defendant was not at liberty, without the leave of the court, to treat it as a suit by the plaintiff in his individual character and to enter up a judgment for costs against him. The affidavits shew that the whole contest was in relation to the note, and that probably no evidence whatever was given upon the money counts. The judgment was irregularly entered, and must he set aside with costs.
Upon this application, we will not undertake to determine whether the plaintiff" pioiecuted the suit in good faith or not. The affidavits on the part, of the defendant present a strong case against him ; but he lias had no opportunity to answer them, and must not be condemned unheard.
Under (he circumstances of the case, we give the defendant. leave to move the court for liberty to enter up judgment for costs against the plaintiff. Upon that application, the whole merits of the case upon this point may be presented.