l. judgment ties'on anappeal Roncl: jurisdiction, — If the circuit court had jurisdiction over the plaintiff and the subject-matter when the judgment was rendered, then the demurrer was erroneously overruled. The statute provides in relation to appeals . . „ , i x from, a justise of the peace as follows: “Any judgment in the circuit court against the appellant shall be en*527tered up against him and his sureties jointly.” Code § 3594. Counsel for the apjiellee properly concede that the circuit court had the jurisdiction and power to render a judgment against the" plaintiff for fifty dollars.
The plaintiff in the action might not have been entitled to judgment for that amount. The court then had the undoubted power to determine the amount for which judgment should be rendered. This being so, it necessarily follows that the court committed a grave error in rendering judgment against the plaintiff for an amount greater than the penalty of the bond. But the judgment so rendered was not void for want of jurisdiction. It was a valid judgment, at least to the extent of fifty dollars. The question, then, is whether the plaintiff has pursued the proper remedy to get rid of the erroneous portion of the judgment.
'2.-: excessive j liow corrected. The appellee says he has, because he was not a party to the action, and had no right to move the court for its correction, apply for a new trial, or appeal therefrom. But _ • is this so? Counsel for appellee cites and relies on Crites v. Littleton, 23 Iowa, 205; Partridge v. Harrow, 27 Id., 96; Barthell v. Roderick, 34 Id., 517. In the two last cases the error or mistake was not discovered until after the time to move the court to correct the error, or apply for a new trial at law or under the statute, had expired. Therefore, the aggrieved party was remediless, unless he could obtain relief in equity. Not so in the case at bar, for the plaintiff had knowledge of the amount of the judgment within twenty days after it was rendered. The case first cited was an action of replevin, commenced by one "Wilson before a justice of the peace. The plaintiff signed the replevin bond as surety. "Wilson failed to appear and prosecute the action, and judgment was rendered against him and Crites for the value of the property taken under the writ. Crites appealed in his own name. A motion to dismiss the appeal was oyerruled, and, on a trial of the merits of the action, a judgment was rendered in favor of "Wilson. TJpon appeal to this court, *528it was lield that Grites could not appeal, and that the court erred in overruling the motion to dismiss the appeal. This decision was made on the ground that Grites could not appeal for Wilson, nor could he appeal the main action and have the merits of the controversy between Wilson and the defendant retried on the appeal.
This decision we believe to be correct. But it was said in 'that case by Wright, J., that cases might .arise when the right of the surety to appeal would be beyond dispute, as in the case of a defense growing out'of the right of the surety “in no manner connected with or dependent upon the right or liabilities of his principal, and the ruling should be against him, he certainly would be ‘aggrieved’ within the meaning of the law, and might appeal.”
This fully meets the case before us. Besides this, as the court had jurisdiction to render the judgment, it seems to us to follow that the party against whom it is rendered must have the right to move its correction, or appeal therefrom, for his own protection; that is, for the correction of an error which affected himself only, and which in no manner affected the merits of the action.
It is probable an appeal would have been ineffectual, because no exceptions were taken. But the judgment was evidently irregularly obtained, and was rendered by mistake. The circuit court had the power to correct the error, (Code, § 3154,) if a proper and sufficient petition had been filed within one year after the judgment was rendered. Code, § 3157. The plaintiff had knowledge of the excessive judgment long before the expiration of the year. He clearly was “aggrieved” by the erroneous judgment, and under the statute the person against whom a judgment is rendered, as before stated, may avail himself of the remedy therein provided. The plaintiff failed to pursue such remedy, and commenced this proceeding more than two years after the rendition of .the judgment.
It is fundamental that equity will not enjoin the collection .of a judgment at law where the legal remedy, is full, ample *529and complete, unless, possibly, there has been fraud, accident or surprise, without fault or negligence on the part of the complaining party.
3. demurrer: matter weu pleaded. It is, however, insisted by counsel for the appellee that as the averment in the petition that he had fully performed all obligations incurred under the bond must be re- ° garíle<i as admitted by the demurrer, he is therefore entitled to the relief asked. But a demurrer only admits that which is well pleaded. Now, whether the plaintiff had performed such obligation depends on the facts pleaded, and not on the legal conclusions drawn therefrom by the pleader.
Reversed.