
    The People of the State of New York ex rel. George C. Smith, Respondent, v. James A. McFarline, as Sheriff of the County of Wyoming, Defendant. Orville D. Lyon, as Overseer of the Poor of the Town of Pike, Appellant.
    
      Mistake in the use of the words ‘ ‘ Court of Sessions ” for ‘ ‘ County Court ” in a commitment in basta/rdy proceedings — it is immaterial — it is cured, by a corrected warrant — it does not justify a discharge on habeas coj'pus.
    
    A mistake in a warrant committing a person to jail for failing to comply with an order of filiation, consisting in the use therein of the words “Court of Sessions” instead of “ County Court," does not actually prejudice, or tend to prejudice, the prisoner in respect to a substantial right, and may, therefore, be disregarded under section 684 of the Code of Criminal Procedure.
    The defect, .if any, is cured by a warrant subsequently issued by the committing magistrates, in all respects the same as the original except that the words “ County Court" are substituted for the words “ Court of Sessions” in each instance where the latter were used in tire original warrant.
    
      
      It seems, that a prisoner is not entitled to a discharge on habeas corpus if the mistake or error which is claimed to render his detention illegal can be corrected.
    Appeal by Orville D. Lyon, as overseer of the poor of the town of Pike, from an order of the county judge of Wyoming county, entered in the office of the clerk of the county of Wyoming on the 15th day of ^November, 1899, discharging the relator, George 0. Smith, from the custody of the sheriff of the county of Wyoming on a writ of habeas corpus.
    
      G. S. Van Gorder, for the appellant.
    
      Irving G. Botsford, for the respondent.
   Laughlin, J. :

On the 30th day of October, 1899, two justices of the peace of the town of Pike made and signed an order of filiation against the relator, pursuant to the provisions of section 850 of the Code of Criminal Procedure. This order is in all respects a full and complete compliance with the requirements of said section. The proceeding had been theretofore duly instituted and a hearing duly had before the two magistrates, in conformity with the provisions of chapter 1 of title 5 of said Code (§§ 838-860), and the order was filed in the county clerk’s office the same day. The relator having failed to comply with or enter into an undertaking as required by section 851 of the Code, the magistrates thereupon signed a warrant in the name of the People addressed to any peace officer of the county of Wyoming, and to the keeper of the county jail, reciting that they had made the order of filiation, the facts necessary to confer jurisdiction to make the same, that the relator being present was required by them to pay the costs therein adjudged against him, and to enter into an undertaking with sureties to be approved by them for the performance of such order or his appearance at the next Court of Sessions of said county of Wyoming, to answer the charge and obey its order therein, according to section 851 of the Code of Criminal Procedure of the State of Hew York,” and after reciting that the relator had failed to pay the costs and enter into the undertaking, it commanded the peace officer to take and convey and deliver him to the keeper of said jail, and it concluded by commanding the keeper of said jail as follows: “ To receive the said George C. Smith into your custody in said jail, and there safely keep him until he shall pay the costs and execute such bond aforesaid, or he be discharged by the Court of Sessions of said county.”

Pursuant to this warrant of commitment the relator was on that day delivered to the sheriff of the county, who was the keeper of the county jail, and the warrant was left with the sheriff. The county judge granted a writ of habeas corpus on the petition of the relator on the seventh day of November following, returnable before him on November fifteenth. On the ninth day of November the sheriff received by mail a warrant signed by the committing magistrates, in all respects the same as the original, excepting that “ County Court ” was substituted for “ Court of Sessions ” in each instance where the latter was used. The sheriff returned that he held the relator at the time the writ was served on him under and by virtue of the original warrant. On the hearing before the county judge on the fifteenth of November, the original and corrected warrant, the order of filiation, the evidence and proceedings before the magistrates, and an affidavit showing that the order of filiation had -not been appealed from, that on the hearing the relator declined to pay the costs or enter into an undertaking, and informed the magistrates that they could commit him to • the jail, and that the jail in which the relator was confined was the only county jail of said county, were received in evidence. The county judge thereupon made an order discharging the relator from further imprisonment, on the ground that his detention was illegal.

On and after the 1st day of January, 1895, by the amendment to section 14 of article 6 of the Constitution, adopted in 1894, Courts of Sessions, except in the county of New York, were abolished, and all their jurisdiction thereupon vested in the County Court, and all actions and proceedings pending in the Court of Sessions were transferred to the County Court. By amendments enacted in 1895, which took effect on January 1, 1896, “County Court” was substituted for “ Court of Sessions ” in the various sections of the Code of Criminal Procedure relating to bastardy proceedings. The form of warrant employed by the magistrates in this case is the form which was in use prior to these changes in the law, the Court of Sessions having been theretofore specified in the sections of the Criminal Code relating to the undertaking and warrant of commitment.

The question to be determined is whether, in view of the conceded validity of the order of filiation, the misnomer of the court in the original warrant rendered the relator’s imprisonment illegal, and if so, whether the corrected warrant made his detention thereafter lawful. Section 684 of the Code of Criminal Procedure provides as follows: “ Neither a departure from the form or mode prescribed by this Code in respect to any pleadings or proceedings, nor an error or mistake therein, renders it invalid unless it have actually prejudiced the defendant, or tend to his prejudice in respect to a substantial right.”

The relator has not been adjudged guilty of a crime, and while these statutes attach a penal effect to a failure to comply therewith, they are remedial and should be liberally construed with a view to securing the indemnity to the public, that being the purpose for which they were enacted. (Millett v. Baker, 42 Barb. 215; 3 Am. & Eng. Ency. of Law [2d ed.], 874; People ex rel. Moore v. Beehler, 63 Hun, 42; People ex rel. Kirkpatrick v. Crowley, 25 App. Div. 175.)

When the order of filiation was made, it became the duty of the relator, under section 851 of the Code of Criminal Procedure, if he desired to give an undertaking, to tender an undertaking to the magistrates for their approval, for he had an election to make as to whether he wished to give an undertaking under subdivision 1, in which case he could only review that part of the order of filiation fixing tne allowance to be paid (Code Urim. Proc. §§ 861, 862; People ex rel. Commissioners v. Dando, 20 Abb. N. C. 248); or, under subdivision 2, in which case he could have reviewed the entire proceeding on the merits, the undertaking in either case operating as an appeal.

Section 852 of the Code of Criminal Procedure provides : Upon a compliance with the provisions of the last section the magistrates must discharge the defendant; but otherwise, they, or either of them, must, by warrant, commit him to the county jail, * * * until he be discharged by the County Court of the county, or deliver an undertaking as prescribed by the last section.”

This section does not require that the warrant shall recite the terms of the undertaking which the relator declined to execute, and since it is made his express duty to enter into a proper undertaking, and not the duty of the magistrates to require it, we think no error can he predicated upon the recital in the warrant that he was required to execute an undertaking to answer to the Court of Sessions.

The relator having neglected to enter into a proper undertaking, could only review the order of filiation by taking an appeal therefrom to the next term of the Oount/y Court, and this was expressly authorized by section 861 of the Code of Criminal Procedure. Had he desired to review the order and taken such an appeal, he would have been brought before the County Court by virtue of such appeal, and not by virtue of the warrant of commitment. The office of the warrant of commitment was to hold him in custody until he should give the necessary undertaking or be discharged by the court having jurisdiction to hear his appeal should he take one, or to discharge him for other cause authorized by statute on an application to be duly made therefor by him.

Notwithstanding the designation of the Court of Sessions, the County Court was authorized to hear this matter and to affirm or vacate the order, or to reduce or increase the sum ordered to be paid for the support of the illegitimate child or its mother, or to order the defendant’s discharge if it were made to appear that the public would not be put to any future expense. (Code Grim. Proc. §§ 864-866, 880.)

The warrant was merely the authority of the keeper of the county jail to hold the relator until he should give an undertaking or be legally discharged. It was not the sentence of the court, but the statute, that fixed the nature and terms of the imprisonment. He has neither given an undertaking, taken an appeal, or applied to the proper court for a discharge. The authority for the imprisonment was the order of filiation, which was in the nature of a judgment, and his failure to comply therewith or give security therefor. When the sufficiency of the warrant of commitment was thus brought in question, the order of filiation could be invoked to sustain it. (People ex rel. Trainor v. Baker, 89 N. Y. 461, 467 ; People ex rel. Evans v. McEwan, 2 N. Y. Cr. Rep. 307.)

We think, in the circumstances, the error and mistake in the warrant of commitment in designating the Court of Sessions instead of the County Court, has neither actually prejudiced the relator nor tended to his prejudice in respect to a substantial right, and that it may, therefore, be disregarded. (Matter of Coughlin, 62 How. Pr. 34; People ex rel. Tweed v. Liscomb, 60 N. Y. 571; People v. Hawkins & Clarke, 3 Code Rep. 42; Teall v. Van Wyck, 10 Barb. 376; Baldwin v. McArthur, 17 Barb. 414; People ex rel. Crouse v. Leavitt, 39 N. Y. St. Repr. 716; May v. Woolery, 6 Wash. 159, 160 ; Petty v. People, 118 Ill. 148 ; People v. McCay 39 Barb. 73; People v. Powell, 14 Abb. Pr. 91, 103; People ex rel. Sullivan, v. Sloan, 90 N. Y. St. Repr. 930.)

But if it were impossible to sustain the imprisonment on account of the misnomer of the court in the original warrant of commitment, the relator could have been lawfully detained under the corrected warrant. The case is quite unlike those where it has been held that when an illegal sentence is pronounced by a local court of inferior jurisdiction, the prisoner must be discharged because the magistrate’s ..authority is at an end. (People ex rel. Johnson v. Webster, 92 Hun, 378; People ex rel. Cook v. Smith, 28 N. Y. St. Repr. 306 ; People v. Starks, 17 id. 234.)

By the express terms of the statute governing those cases the sentence, certificate of conviction and commitment were acts of the court, and the sentence required the exercise of discretion and judgment. Here the commitment is required to be made, not by the-court, but by the magistrates or either of them, and there is no discretion to be exercised, for the statute is mandatory and imperative and points out just what shall be done. The order of filiation being legal, a compliance with this statutory duty devolving upon the magistrates, or either of them, could be enforced by mandamus; for until such a statute, vesting no discretion in them, be complied with, they are not functus officio. What they could be compelled to do by the court they may lawfully do voluntarily. (People ex rel. Emerson v. Aldermen, 65 Hun, 300, and cases cited.)

All of the authorities are to the effect that if the mistake or error could be corrected, the relator was not entitled to a discharge on habeas corpus. (People ex rel. Tweed v. Liscomb, 60 N. Y. 571; People ex rel. Trainor v. Baker, 89 id. 461, 467.)

It follows that the order of the county judge should be reversed and the relator remanded to the custody of the sheriff of Wyoming county.

All concurred.

Order of the county judge reversed, with ten dollars costs and disbursements, and relator remanded to the custody of the sheriff of Wyoming county.  