¶1*280The opinion of the court was delivered by
¶2This is an original proceeding in habeas corpus, through which the petitioner, Ernest C. Parker, seeks to be released from an imprisonment which he alleges is illegal. The return made by the respondent shows that the petitioner has been arrested, and is in custody upon a charge that he is the father of a bastard child. It appears that on August 31, 1889, Maggie Green made complaint before a justice of the peace of Riley county, charging Parker with being the father of a bastard child, of which she was delivered on the 31st day of July, 1889. Upon this complaint a warrant was issued, and Parker was brought before the justice of the peace, where a hearing was had, in which numerous witnesses were sworn and testified in behalf of both parties. The relatrix was represented by the county attorney, and upon the evidence adduced the justice of the peace determined and adjudged that the petitioner was not the father of the bastard child, and discharged him from custody. On October 19, 1889, the mother of the child made another complaint before the same justice of the peace, charging the petitioner with being the father of the same child, and thereupon a warrant was issued, upon which the petitioner was arrested and taken before the justice of the peace; and on November 18, 1889, another hearing was had, in which evidence was produced by both parties, and in which the relatrix was again represented by the county attorney. The defendant filed a plea of former acquittal, claiming that the previous trial and the judgment discharging him from custody was a bar to the second action. This plea was overruled, but the justice of the peace, upon the evidence adduced by the parties, again determined that the defendant was not the father of the child, and discharged him from custody. The state took an appeal to the district court, but at the May term, 1890, of that court, the appeal was dismissed, upon the ground that the district court had no jurisdiction to entertain an appeal from the judgment of the justice of the peace in the bastardy case.
¶3*281On April 15, 1890, a third complaint was filed by Maggie Green before the same -justice of the peace, again charging Parker with being the father of her bastard child; and upon this complaint another warrant was issued, under which he was arrested and taken into custody. He immediately instituted this proceeding for a- release from imprisonment, and now insists that his discharge at the former hearing before the justice was a final adjudication, which constitutes a bar to a like proceeding before the justice of the peace upon the same charge. Is the hearing and determination of a justice of the peace in a bastardy case, where the defendant is discharged, conclusive, and a bar to a second arrest and prosecution before a justice of the peace for the same cause? The statute is somewhat ambiguous, and the proceeding therein provided for is anomalous, not being distinctively either criminal or civil. The proceeding or prosecution is instituted before a justice of the peace, who issues a warrant upon a complaint, and when the defendant is arrested and brought before him, a preliminary hearing is had, and the testimony of the mother is to be reduced to writing by the justice, carefully read to her, which, when signed, is to be transmitted to the district court. If upon this hearing the defendant is adjudged to be the father of the child, he is required to enter into a recognizance for his appearance at the next term of the district court, to answer the same complaint, and to abide the judgment and orders of that court; and if he fails to give the recognizance, the justice is to commit him to jail. After such hearing, the justice is required to transmit the recognizance and other papers to the district court without delay, the same as is done in criminal cases where the defendant is recognized upon a charge of felony. It is not expressly provided .what the order shall be where the justice finds that the defendant is not the father of the child. In the district, court, if the defendant denies the charge, a trial is had by the court or a jury, and if it is found that he is the father of the child,.or if he shall confess the same, a judgment is rendered by the court that he stand charged with the maintenance and education of such child, *282which shall specify the amount to be paid and the terms and times of payment. Upon such judgment an ordinary execution may issue, which is to be executed as in other cases. The only provision prescribing what shall constitute a bar to further prosecution before the final judgment is rendered, is found in §16 of the act, where it is provided that if the mother shall enter of record an admission that provision has been made to her satisfaction, it shall constitute a bar to all other prosecutions for the same cause and purpose. In §19 of the act it is provided that even the death of a bastard child before or during the pendency of the proceedings, shall not be cause of abatement or a bar to any prosecution for bastardy.
¶4
¶5A strong appeal is made by the petitioner to be relieved from the repeated and harassing arrests and prosecutions to which he has been subjected. It is insisted that a full inquiry has been made, which shows his entire innocence of the charge brought against him, and that the present prosecution is not begun in good faith, nor because there are any reasonable grounds for believing that he is the father of the child. ’ If this be true, he is still not without remedy. The law does not permit or tolerate a perversion of its provisions and process for any purpose, much less for the accomplishment of the unworthy object which the petitioner suggests is intended by this prosecution. All prosecutions under the act are within the control of the county attorney, and it is his duty to see that no one is vexed and harassed in the manner alleged, and he should discontinue any prosecution which is not begun in good faith and based upon reasonable grounds. He can prevent the proceedings and process of the law from being abused, and should exercise his power and control in that respect when occasion requires. There are probably other remedies to prevent the continuance of proceedings under the act after a discharge of the defendant, and when it is shown that they are *285not based on sufficient grounds, and are conducted in bad faith and to accomplish a bad end. No proof, however, of any unworthy design was offered in the present case, and none will be presumed.
¶6The petitioner will be remanded.