The Virginia state Senate on Monday approved a bill making the electric chair the default method of execution if lethal injection drugs are unavailable.
The bill passed the Republican-controlled Senate by a 22-17 vote. The Republican-dominated House has already approved the measure.
After a lower chamber vote on a minor amendment, the measure will go to Democratic Governor Terry McAuliffe for approval. A spokesman for the governor said the measure would be reviewed when it arrived.
Virginia is one of eight states that allows electrocution as a method of execution, letting condemned inmates choose between it and lethal injection. If they do not choose, lethal injection is used.
Virginia, along with other states, has struggled to get lethal injection drugs because pharmaceutical companies have protested their use in executions.