45-8-318. Possession of deadly weapon by prisoner or youth in facility. (1) A person commits the offense of possession of a deadly weapon by a prisoner if the person purposely or knowingly possesses or carries or has under the person's custody or control without lawful authority a dirk, dagger, pistol, revolver, slingshot, sword cane, billy, knuckles made of any metal or hard substance, knife, razor not including a safety razor, or other deadly weapon while the person is:
(a) a person committed to a state prison or incarcerated in a county jail, city jail, or regional jail and is:
(i) at a state prison, a state prison farm or ranch, or jail;
(ii) being conveyed to or from a place listed in this subsection (1)(a); or
(iii) under the custody of prison or jail officials, officers, or employees; or
(b) a person in a youth detention facility, secure detention facility, regional detention facility, short-term detention center, state youth correctional facility, or shelter care facility, as those terms are defined in 41-5-103, and is at the facility, being conveyed to or from the facility, or under the custody of the facility officials, officers, or employees.
(2) A person convicted of the offense of possession of a deadly weapon by a prisoner shall be punished by imprisonment in the state prison for a term not less than 5 years or more than 15 years, by a fine of not more than $50,000, or by both fine and imprisonment.
(3) The youth court has jurisdiction of any violation of subsection (1)(b) unless the charge is filed in district court, in which case the district court has jurisdiction.