Mr. Chief Justice Waite
delivered the opinion of the court.
This record shows that on the 25th -of May, 1876, Bamberger, the defendant below, moved that the cause be entered on the jury docket of the court, "pursuant to the statute in such' case provided, and as of right he may demand." After-wards lie stipulated in. writing that the cause be tried by the court. This was equivalent to a waiver of a jury. The stipulation was duly filed and entered of record. Afterwards the parties appeared and the case'was tried by the court. At the close of the testimony, Terry, the plaintiff below, asked and, against the objection of the defendant, obtained leave to amend iiis declaration so as to avoid a variance between the pleadings aúd the proof. The defendant then put in a general denial to the amended declaration and demanded a jury trial. This the court refused, but gave the defendant leave to introduce additional evidence, if he desired.
By sect. 954, Rev. Stat., the trial court may at any time permit either of the parties to amend' any defect in the process or pleadings upon such conditions as it shall in its discretion, or by its rules, prescribe. This clearly authorizes the allowance of amendments during the progress of a trial in furtherance of justice. When such an amendment is permitted the equrt must, in its discretion, determine whether any submission which has been made ought to be vacated. Here the court decided that it ought not, and in this we see nothing wrong. Neither the nature of the case nór the real issue between the parties, as it had been tried,- was changed by the amendment. All that had been done was, to present by the pleadings, fairly and on its merits,- the controversy as it had actually been tried.
Judgment affirmed.-