Petitioner, being confined in the county jail under what purported to be a mittimus from the mayor of Opelika acting as a justice of the peace and commanding that petitioner be held or bailed to answer a chai'ge of burglary, was on habeas corpus brought, before the probate judge who made an order remanding him and directing that bail be allowed in *148the sum of four hundred dollars. That order is now appealed from.
The sole ground here insisted on as entitling petitioner to a discharge, is that the mayor was without authority to commit him for that the statute purporting to create his office and power is unconstitutional. The record is not such as to justify an adjudication of that question.
There is no bill of exceptions, nor is there anything in the transcript to show that the probate judge’s consideration of the case was restricted to the validity of the commitment. As a conservator of the peace, authorized to hold preliminary examinations and to hold offenders to answer indictments, it was well within his power to hear evidence as upon a trial de movo, and upon sufficient proof, to command the imprisonment of the petitioner in default of bail independently of whether the original commitment was authorized. This power was conferred upon him by the statute.—Code, § 4839; Ex parte Thomas, 100 Ala. 101. See also Church Hab. Corp., § 237; Hurd Hab. Corp., p. 411; 9 Ency. Pl. & Pr., 1066; Ex parte Hamilton, 65 Miss. 98.
In the absence of error affirmatively shown, the presumption in the apppellate court is that the judgment of the trial court is correct.
Affirmed.