
116 N.W.2d 495 (1962)
Darrell E. COPENHAVER, Appellant,
v.
John E. BENNETT, Warden, Iowa State Penitentiary, Appellee.
No. 50620.
Supreme Court of Iowa.
July 24, 1962.
Rehearing Denied September 18, 1962.
Darrell E. Copenhaver, appellant, pro se.
Evan L. Hultman, Atty. Gen., and John H. Allen, Asst. Atty. Gen., for appellee.
THORNTON, Justice.
Petitioner, who was defendant in State v. Copenhaver, Iowa, 110 N.W.2d 333, filed a petition for a writ of habeas corpus in the Lee District Court. He alleges in his petition that he is unlawfully restrained of his liberty by defendant. The trial court, being of the opinion the petition showed on its face petitioner was not entitled to the relief demanded, refused to allow the writ. We agree.
Petitioner was informed against as a habitual criminal under section 747.1, Code of Iowa, 1958, I.C.A., in Madison County. The primary offense charged was a violation of section 708.8, Code of Iowa, 1958, I.C.A. Prior offenses were alleged. He was acquitted of being a habitual criminal, but convicted of violating section 708.8. We affirmed this conviction. State v. Copenhaver, supra.
Petitioner's contention is that the judgment of conviction and sentence are void because evidence of prior convictions was introduced at his trial. Because of this he contends the trial court was without jurisdiction to sentence him. His argument is difficult to follow. The authorities cited by him do not relate to prosecution under habitual criminal statutes.
*496 It is not only proper, but necessary, to introduce evidence of prior convictions in prosecutions pursuant to section 747.1. Section 747.3, Code of Iowa, 1958, I.C.A., and State v. Bolds, 244 Iowa 278, 55 N.W.2d 534.
Insofar as petitioner's complaint bears on the admission of evidence it could have been urged on appeal. Habeas corpus is not available for that purpose. Meeks v. Lainson, 246 Iowa 1237, 71 N.W.2d 446.
Affirmed.
All Justices concur.
