Cal. Penal Code § 136.5
Any person who has upon his person a deadly weapon with the intent to use such weapon to commit a violation of Section 136.1 is guilty of an offense punishable by imprisonment in the county jail for not more than one year, or in the state prison.