Any person who, while committing or attempting to commit a crime of violence, discharges a firearm, in addition to the penalty provided by statute for the crime of violence committed or attempted, upon conviction, may be charged, in the discretion of the district attorney, with an additional felony for possessing such weapon, which shall be a separate offense punishable, upon conviction, by not less than ten (10) years in the custody of the Department of Corrections which may be served concurrently with the sentence for the crime of violence. For purposes of this section, "crime of violence" means an offense that is a felony and has as an element of the offense, the use, attempted use, or threatened use of physical force against the person of another or that by its nature involves a substantial risk that physical force against the person of another may be used in the course of committing the offense. For purposes of this section, "firearm" means a rifle, pistol or shotgun.
Okla. Stat. tit. 21, § 1287.1