(SALT LAKE CITY) — Utah lawmakers passed a bill on Tuesday that would ensure that if lethal chemicals are not available for use in the execution of the death penalty, inmates could be executed by firing squad.

The legislation, which would still need to be signed by Governor Gary Herbert before it would become law, was proposed as a state House bill and passed the state Senate by an 18-10-1 vote. It would make Utah the only state to use a firing squad as a fallback option for death penalty use.

The legislation reads that “the method of execution for the defendant is the firing squad if the sentencing court determines the state is unable to lawfully obtain the substance or substances necessary to conduct an execution by lethal intravenous injection 30 or more days prior to the date specified in the warrant issued upon a judgement of death.”