Legislation that would have forced dozens of California cities and counties to license a minimum number of marijuana shops stalled in the state Assembly on Thursday.

The author of AB 1356, Assemblyman Phil Ting, D-San Francisco, could not muster the 54 votes needed to move the controversial legislation to the Senate. Ting can revive the measure next year if he chooses.

The legislation generally would have required cities and counties where a majority of voters approved Proposition 64 to issue one marijuana business permit—for either medical or recreational use outlets—for every six locally licensed alcohol retailers.