This undated handout photo provided by the California Department of Corrections and Rehabilitation shows Clarence Ray Allen, who was the last person executed in California when he was put to death at San Quentin State Prison in January 2006. California corrections officials announced Friday, Nov. 4, 2016, they have met a legal deadline to switch to a new method of executing condemned inmates, just days before voters decide whether to do away with the death penalty. (California Department of Corrections and Rehabilitation via AP)
This undated handout photo provided by the California Department of Corrections and Rehabilitation shows Clarence Ray Allen, who was the last person executed in California when he was put to death at San Quentin State Prison in January 2006. California corrections officials announced Friday, Nov. 4, 2016, they have met a legal deadline to switch to a new method of executing condemned inmates, just days before voters decide whether to do away with the death penalty. (California Department of Corrections and Rehabilitation via AP)

NEW YORK — Voters in some states weighed in Tuesday on several of most volatile issues facing America — gun control, marijuana legalization, the death penalty and the right of a terminally ill person to get a doctor’s help in dying.

Proposals addressing those topics were among more than 150 measures appearing on statewide ballots. California led the pack with 17 ballot questions, including one that would require actors in porn movies to wear condoms during filming of sexual intercourse. Another would ban plastic grocery bags.

California was among five states — along with Arizona, Maine, Massachusetts and Nevada — voting on whether to legalize the recreational use of marijuana. Three others — Florida, Arkansas and North Dakota — decided whether to permit marijuana for medical purposes. Montanans voted on whether to ease restrictions on an existing medical marijuana law.

Collectively, it was the closest the U.S. has ever come to a national referendum on marijuana. If “yes” votes prevail across the board, more than 23 percent of the U.S. population will live in states where recreational pot is legal. The jurisdictions where that’s already the case — Alaska, Colorado, Oregon, Washington state and the District of Columbia — have less than 6 percent of the population.

Another hot-button issue — gun control — was on the ballot in four states, including California, which already has some of the nation’s toughest gun-related laws. Proposition 63 would outlaw possession of large-capacity ammunition magazines, require permits to buy ammunition and extend California’s unique program that allows authorities to seize firearms from owners who bought guns legally but are no longer allowed to own them.