This case comes before us on exceptions to the ruling of the court of common pleas, and we decide it on the last which appears to be made, namely, that the defendant offered to prove the record and proceedings of a prior conviction for the same offence, before a justice of the peace, as a bar, but that the court ruled that the same did not constitute a bar to this prosecution. And the attorney general admits that this case is to be taken and considered by the court, as if that plea had been formally made with proper averments ; that the larceny of which the defendant was convicted was of the same property for the stealing of which he has been again indicted and convicted ; and that the defendant submitted to the former judgment, and performed the sentence. But it is contended for the Commonwealth, that the supposed former conviction was not only erroneous, but was merely void.
In the case of Commonwealth v. Phillips, 16 Pick. 211, it was held, that a conviction, on a complaint in similar form to that which was used in the case at bar, was erroneous ; and the judgment was arrested. The defendant excepted to that judg meet, as he well might. But in the case at bar, the defendant waived any exception to the judgment, complaint, proceedings, or sentence ; and he has performed the sentence.
The Commonwealth now desire to have those proc' --dings held for nothing, so that, by an indictment in technical and legal form, the defendant may be again tried and punished for the same offence of which he has been informally convicted. We cannot think that those proceedings before the magistrate were merely void. On the contrary, it is reasonable to believe, that the complainant intended to prosecute for a larceny. The defendant understood it so, and so did the magistrate. Notv the judgment that the defendant was guilty, although upon proceedings which were erroneous, is good until the same be reversed *330This rule of criminal law is well settled. It was the right and privilege of the defendant to bring a writ of error, and reverse that judgment ; which writ would have been sustained by the case before cited of Commonwealth v. Phillips; but he might well waive the error and submit to and perform the judgment and sentence, without danger of being subjected to another conviction and punishment for the same offence. Vaux's case, 4 Co. 45. 2 Hale P. C. 251. 2 Hawk. c. 36, § 10, et seq. 1 Stark. Crim. Pl. (2d ed.) 329, 330.
The evidence which was offered, we think, constituted a good defence to the indictment. The bill of exceptions is sustained. Therefore the verdict should be set aside, and the defendant should go thereof discharged, without day.