¶1*508Wendy Holton, Helena, Mont., for petitioner-appellant.
¶2Elizabeth S. Baker, Asst. Atty. Gen., Helena, Mont., for respondent-appellee.
¶3Before BROWNING, WRIGHT and FARRIS, Circuit Judges.
¶5Nichols was convicted in state court of kidnapping and assault. The court sentenced him to ten years for kidnapping and six months for assault. It imposed an additional ten years, to run consecutively to the other sentences, for using a firearm while engaged in the commission of an offense, under the Montana weapons enhancement statute.1
¶6Having exhausted his state court remedies, Nichols petitioned for habeas relief, alleging that the enhancement of his sentence violated his constitutional rights under McMillan v. Pennsylvania, 477 U.S. 79, 106 S.Ct. 2411, 91 L.Ed.2d 67 (1986). He noted that the charging document filed by the state did not charge him with violating the weapons enhancement statute. He argued that the enhancement of his sentence deprived him of his right to due process and his right to a jury determination on the elements of the crime, in violation of the Sixth and Fourteenth amendments. The district court denied his petition. Nichols v. McCormick, 738 F.Supp. 362 (D.Mont.1990). We affirm.
¶7We review de novo the denial of a petition for writ of habeas corpus. Tinsley v. Borg, 895 F.2d 520, 523 (9th Cir.1990), cert. denied, — U.S. —, 111 S.Ct. 974, 112 L.Ed.2d 1059 (1991).
¶9The state argues that we are barred from reviewing Nichols’ constitutional claim because the Montana Supreme Court rejected his post-conviction, petition, in which he asserted identical claims, on procedural grounds.
¶10The procedural default rule takes effect only if the state court “clearly and expressly” based its decision on state procedural law. Harris v. Reed, 489 U.S. 255, 263, 109 S.Ct. 1038, 1043, 103 L.Ed.2d 308 (1989). We agree with the district court that the Montana Supreme Court order is ambiguous. Thus, Nichols is entitled to have us resolve his claim on the merits.2
¶11II
¶12Nichols challenges the constitutionality of the Montana weapons enhancement statute, both on its face and as applied to him. The gravamen of his complaint is that the statute creates a separate substantive offense. As such, he argues that the state was required to charge him with weapon use in the indictment and to submit the issue to the jury.
¶13Our decision in LaMere v. Risley, 827 F.2d 622 (9th Cir.1987) controls this case.3 We upheld the constitutionality of the Montana statute against an identical due process attack. Id. at 624. We said that the statute provides only for enhancement of a penalty once the defendant has been found guilty of an underlying offense. It does not create a separate substantive offense which must be charged in the indictment. Id.Nichols’ due process claim must fail because it is indistinguishable from the claim construed in LaMere.
¶14Similarly, our conclusion in LaMere that the statute does not create a separate substantive offense provides the basis for disposing of his Sixth Amendment claim. In McMillan v. Pennsylvania, 477 U.S. 79, 106 S.Ct. 2411, 91 L.Ed.2d 67 (1986), the Supreme Court held that the Sixth Amendment does not require jury sentencing when a statute makes weapon possession a sentencing factor rather than an element of a crime. 477 U.S. at 93, 106 S.Ct. at 2420. Because we already determined in LaMere that Montana properly treats weapon use as a sentencing factor, it follows that there is no Sixth Amendment right to a trial by jury.4
¶15Nichols argues that LaMere is not controlling because it is inconsistent with a line of Supreme Court cases ending with *510McMillan.5 We disagree.
¶16The specific issue in McMillan was whether a Pennsylvania statute that characterized “visible possession of a firearm” as a sentencing factor rather than as an element of an offense violated due process. Under the statute, after a defendant was convicted of the underlying offense, the sentencing judge would determine by a preponderance of the evidence whether the defendant had visibly possessed a firearm while committing the offense. If so, the defendant received a mandatory five year sentence.
The Court upheld the statute, stating: While visible possession might well have been included as an element of the enumerated offenses, Pennsylvania chose not to redefine those offenses in order to so include it, and Patterson [v. New York, 432 U.S. 197, 211, 97 S.Ct. 2319, 2327, 53 L.Ed.2d 281 (1977) ] teaches that we should hesitate to conclude that due process bars the State from pursuing its chosen course in the area of defining crimes and prescribing penalties.
¶17McMillan, 477 U.S. at 86, 106 S.Ct. at 2416.
¶18Nichols relies on the following language from the Court's discussion of whether the statute violated due process:
[The statute does not] alter[] the maximum penalty for the crime committed ...; it operates solely to limit the sentencing court’s discretion in selecting a penalty within the range already available to it without the special finding of visible possession of a firearm_ Petitioners’ claim that visible possession under the Pennsylvania statute is “really” an element of the offenses for which they are being punished — that Pennsylvania has in effect defined a new set of upgraded felonies — would at least have superficial appeal if a finding of visible possession exposed them to greater or additional punishment.
¶19Id. at 87-88, 106 S.Ct. at 2416-17.
¶20Nichols is correct in his assertion that the Montana statute, unlike that of Pennsylvania in McMillan, allows the sentencing court to impose a penalty in excess of that permitted by the underlying offense. He argues that McMillan established a limitation on the state’s power to define a sentencing factor. Under this approach, whenever a statute operates to increase a sentence beyond the maximum permitted by the underlying offense, the factor which brings the statute into play should be considered an element of the offense.
¶21We reject this narrow reading of McMillan.,6 The McMillan court made it clear that state legislatures do not have unfettered discretion to define the elements of an offense, id. at 85, 106 S.Ct. at 2415, quoting Patterson v. New York, 432 U.S. 197, 210, 97 S.Ct. 2319, 2327, 53 L.Ed.2d 281 (1977), but it has consistently rejected any bright line test such as that Nichols proposes. Id. at 91, 106 S.Ct. at 2419. Instead, the Court said that the constitutionality of similar statutes depends on “differences of degree,” id.,and discussed factors relevant to making this determination. Id. at 85-89, 106 S.Ct. at 2415-17.
¶22One factor is whether the state legislature has attempted to circumvent due process protections by redefining elements of an offense as sentencing factors. Id. at 86-87, 106 S.Ct. at 2416. The Montana legislature has not attempted to do so. See Nichols, 738 F.Supp. at 368-69. Another factor is whether the legislature has relieved the prosecution of its burden of prov*511ing all of the elements of an offense, as defined by the state, beyond a reasonable doubt. McMillan, 477 U.S. at 87-90, 106 S.Ct. at 2416-18. The legislature did not do this either. Nichols, 738 F.Supp. at 368-69.
¶23As to Nichols’ argument that a factor is “really” an element of an offense if it results in a sentence beyond the maximum allowable for the underlying offense, the McMillan Court said only that the enhanced effect of a statute would give such an argument “superficial appeal.” McMillan, 477 U.S. at 88, 106 S.Ct. at 2417. The Court’s statement should not be given controlling weight in the absence of other factors supporting Nichols’ position. Furthermore, the Court noted that the defendant’s possession of a weapon during the commission of an offense is a factor that has traditionally been considered by sentencing courts in performing their duties. Id. at 89, 106 S.Ct. at 2417. The import of McMillan is that a state is free to define possession of a weapon as a sentencing factor.
¶24We conclude that our decision in LaMere is consistent with the rationale of McMillan. The Montana weapon enhancement statute does not create a separate substantive offense.
¶25AFFIRMED.