Habeas corpus; appeal from denial of the writ without a hearing. In 1964 Arketa was convicted in California Superior Court on two counts charging burglary in the second degree. (Cal.Pen. Code §§ 459, 460, subd. 2.) He was given concurrent sentences for the term prescribed by law, 2 to 15 years, Cal.Pen. Code §§ 461, 3024(c). He was charged with and found to have suffered two prior California burglary convictions, one in 1957 and one in 1961. He is serving, concurrently, both the 1961 and the 1964 sentences. The two prior sentences affected his 1964 conviction, but not by increasing the term of imprisonment that could be imposed. He was not found to be an habitual criminal under Cal.Pen. Code § 644. The only effect of the priors was to make him ineligible for probation. (Cal.Pen.Code § 1203.)
In this proceeding, Arketa does not attack the 1964 conviction. He asserts that the 1961 conviction is void because evidence obtained in an unconstitutional search was used against him. *583 He also says that he therefore should have been, and, if the 1961 sentence be set aside, will be, eligible for probation under section 1203, Cal.Pen.Code. 1 It does not follow that he would get probation. Under Cal.Pen.Code § 1203, the court has discretion to grant or deny probation to one who is eligible. 2 If Arketa had been eligible, the court would have been required to refer the matter to the probation officer for a report and recommendation, and to decide whether or not to grant probation. If probation were denied, the court could only have imposed the sentence that it-did impose (Cal.Pen.Code §§ 1168, 3020-3025).
The question before us is whether the fact that, if the 1961 conviction were void, Arketa would have been eligible for, but would not necessarily have received, probation under his 1964 conviction, is a ground for his seeking federal habeas corpus, when the validity of the 1964 conviction is not attacked. We are not asked to order Arketa released from custody under the 1964 sentence. We are asked to direct the district judge to determine the validity of the 1961 sentence and, if it be found invalid, to order Arketa released unless the state court gives him an opportunity to be resentenced, at which sentencing he will be eligible for probation. Even if Arketa were granted probation, he would remain in custody. See Jones v. Cunningham, 1963,
The district judge did not reach the merits; he held against Arketa, citing McNally v. Hill, 1934,
*584 The portion of the opinion in McNally that is here most significant reads:
“The petitioner asks here only a ruling which will establish his eligibility for parole, because of the invalidity of the sentence on the third count. The ruling sought is such as might be obtained in a proceeding brought to mandamus the parole board to entertain his petition for parole, if the sentence on the third count were void for want of jurisdiction of the court to pronounce it. This use of habeas corpus is unauthorized by the statutes of the United States * * *." (293 U.S. at 140 ,55 S.Ct. at 28 .)
In substance, the present case is similar. In McNally the petitioner sought a ruling that would make him eligible for parole. Here, Arketa seeks a ruling that would make him eligible for probation. We can see little substantive difference between the two. We do note, however, that the court in McNally felt that the petitioner would, or might have another remedy. McNally was a federal prisoner. Arketa is a state prisoner. He would not have another remedy in a federal court whereby he could vindicate his claim that he should not be disadvantaged in state proceedings under his 1964 conviction by reason of a 1961 conviction which, he says, is void because it was obtained by means that violated his federal constitutional rights. 4
Since 1934 the strict rule of
McNally
has been somewhat eroded. In Ex parte Hull, 1941,
Several cases have arisen under habitual criminal statutes which compel the court to impose a longer term than it could impose upon a first offender. In these cases, federal courts have permitted the use of the writ to attack an earlier conviction, even though the subsequent conviction, as distinguished from the more severe sentence imposed under it because of the earlier conviction, is not attacked. In such cases the prisoner, if his attack is successful, is not unconditionally released, but is to be resentenced under the subsequent conviction. 7 These cases are certainly an *585 other breach in theMcNally dike. In them, the writ is allowed because, but for the prior conviction, the petitioner would have received a lesser prison sentence under the second conviction.
From that situation to the one before us is but a short step. The contention here is not that, if petitioner had been given a prison sentence unaffected by the allegedly invalid prior conviction, the term would be shorter. It would not. The contention is that but for the invalid prior the prisoner might not have been sentenced to prison at all. The Fourth Circuit has taken a similar step in Martin v. Commonwealth of Virginia, 1965,
Reversed and remanded for further proceedings consistent with this opinion.
Notes
. We note that Cal.Pen.Code § 1203 also provides: “In unusual cases, otherwise subject to the preceding paragraph, in which the interests of justice would best be served thereby, the judge may, with the concurrence of the district attorney, grant probation.” It thus appears that Arketa was not completely barred from probation. The respondent, however, makes no point of this presumably because there is no suggestion that the district attorney would have concurred.
. In re Osslo, 1958,
. King v. State of California, 9 Cir., 1966,
. It appears that California does provide a remedy in such a case. In re Hernandez, 1966,
. Wilson v. Gray, 9 Cir., 1965,
. Cf. Wilson v. Gray, supra, n. 5.
. United States ex rel. Smith v. Jackson, 2 Cir., 1956,
