OPINION OP THE COURT.
HANNA, C. J.This is an application for an alternative writ of prohibition against the district court of the Sixth judicial district and the sheriff of Grant county, N. M., commanding each of them to desist and refrain from any further proceeding in the matter of the taking, transferring, and transporting Charlie Parks and John Parks from the jail of the county of Grant to the state penitentiary at Santa Fe, N. M.i pending the appeal of the said parties to the Supreme Court from the judgment of the district court of Grant county in cause No. 7017 of the district court of said county; wherein the said Charlie Parks and John Parks were found guilty of murder in the second degree and sentenced to terms of not less tban 90 nor more tban 99 years in tbe state penitentiary.
It appears from tbe affidavit in support of tbe application for tbe alternative writ of prohibition that tbe district judge of tbe Sixth judicial district has* made an order, on tbe 29th day of May, 1918, reciting that tbe county jail of Grant county is not a safe place in which to detain said defendants during tbe pendency of their appeal to tbe Supreme Court, and that they are therefore committed to tbe state penitentiary at Santa Fe for sa¿fe keeping.
The only ground alleged in tbe application for tbe writ is that tbe respondents have no jurisdiction to proceed in tbe matter of transfer of tbe said defendants from the county jail to the state penitentiary, and that they are attempting to exercise an authority which they do not possess.
[1] This court held in the case óf State ex rel, Harvey v. Medler, District Judge, 19 N. M. 252, 142 Pac. 376, that:
“The writ of prohibition is not a writ of right granted ex dehito justitiae, hut rather one of the sound judicial discretion, to he granted or withheld according to the circumstances of each particular case, to he used with great caution for the furtherance of justice when none of the ordinary remedies provided hy law are applicable.”
As pointed out by Mr. High in his work on Extraordinary Legal Remedies (3d Ed.) § 764A:
“Three conditions are necessary to warrant the granting of the relief: First, that the court, officer or person against whom it is sought is about to exercise judicial or quasi judicial power; second, that the exercise of such power is unauthorized by law; third, that it will result in injury for which no other adequate remedy exists.”
The author further states in the following section (section 765) : .
“And to warrant the relief the petition must clearly show that an inferior court is about to proceed in a matter oyer which it has no jurisdiction, and unless this is distinctly and affirmatively shown the relief will not he granted'.”
With these principles in mind, it seems clear to ns that the petition does not disclose any grounds for mov-. ing our discretion in the premises. The action of the district court in the Sixth judicial district is in conformity with l5ie practice of the district judges of this jurisdiction for many years and the right of the district judge to commit convicted persons to the state penitentiary for safekeeping, so far as we are aware, has never been questioned until this application was filed in this court.
[2-4] The order of the district court recites that the county jail is not a safe place in which to detain the said defendants during the pendency of their appeal, and in our opinion it is not a question of the appeal superseding the judgment of the district court, but solely a question of providing for the safei custody of the defendants. This clearly a/ppears to be what the district court attempted to do. Furthermore, so far as the order of the trial court is concerned, it is apparent that this order has already been made, and the jurisdiction of the district court has therefore been exercised. As Mr. High, in his work on Extraordinary Legal Bemedies, at section 766, points out:
“Another distinguishing feature of the writ is that it is a preventive rather than a corrective remedy, and it issues only to prevent the commission of a future act, and not to undo an act already performed.”
The third condition necessary to warranting the granting of a relief, as set out by Mr. High in section 764A, is that the exercise of the power will result in injury for which no other adequate remedy exists.
In this connection it is our opinion that there is another adequate remedy, by an application for the writ of habeaas corpus, available to the defendants. The existence of this remedy we believe, in itself,' would be sufficient to justify our bolding tbat an insufficiejit showing has been made to move our discretion in the matter.
For the reasons stated, the application for the alternative writ is denied.
PARKER and Roberts, J.J., concur.