SACRAMENTO—Advocates of California’s fledgling legalized marijuana law were left scrambling for a strategy Friday after President-elect Donald Trump announced his intention to nominate U.S. Sen. Jeff Sessions of Alabama as attorney general.

Sessions is an ardent opponent of decriminalizing cannabis, telling his colleagues at a U.S. Senate hearing in April that “good people don’t smoke marijuana.”