¶1The controversy appears to be wholly over the question of-, costs. The County Court held on discharging the defendant-under section 866 of the Code of Criminal Procedure when it appeared that- the child was not born' alive, that the defendant was entitled to- costsn and disbursements as a matter-of- right and, therefore, directed the..plaintiff to refund to the- defendant the- amount paid by him to secure an appeal from the order of filiation. That ¡section simply-authorizes the court or magistrates upon proof of the facts therein;.; stated to discharge the defendant from custody, if he is in custody,' or from the obligation of an undertaking, if he. has given one.. There is nothing said therein on the subject of costs. The. order-discharging the defendant was in no sense a determination of his - appeal to the County Court in his favor, so-as to entitle him to costs under section 873 of, the Code of Criminal Procedure; nor *771did it in any wise affect the correctness of the determination of the magistrates adjudging him to be the father, of the. child. The costs were incurred in that proceeding and were certified to by the magistrates as the reasonable costs of arresting the defendant and of the order of filiation as required by section 850 of the Code of Criminal Procedure, and by section 851 of such Code the defendant is expressly required to pay the amount so certified for such costs. The fact that the defendant is discharged under section 866 of such Code because of facts arising subsequent to the order of filiation is no reason why the costs lawfully incurred and imposed upon him should be refunded to him by the plaintiff, and the court was in error in requiring them to be refunded.
¶2That part of the order discharging the. defendant was evidently made upon the erroneous supposition that an undertaking had been given by him. The court in granting the order to vacate necessarily passed adversely upon the contention of the defendant, that he had given an undertaking. Therefore, there was no need of allowing an order to stand which discharged him from an obligation which did not exist.
¶3The court which had inadvertently made the. order discharging him and which improperly relieved him from the costs by requiring the plaintiff to refund the amount ■ thereof to him, had power. to vacate the order on notice and it was a proper exercise of power so. to do. This is so notwithstanding the order had been appealed from, as the plaintiff’s inability to find the necessary papers in the clerk’s office where they should have been and the defendant’s failure to give the undertaking, practically made it impossible for the plaintiff ever to present his appeal to the court for a determina? tion thereof on the merits.
¶4The order should be affirmed, with ten dollars. costs and disbursements.
¶5All concurred.
¶6Order affirmed, with ten dollars costs and disbursements.