With the passage of Measure M on Tuesday, it’s no longer a question of if, but when and how the city of Los Angeles will regulate the marijuana industry.

The measure, proposed by the city council and the mayor’s office, sets the stage for further regulation, the first move of its kind for the city since California voters approved Proposition 64 in November.

It ensures that violators of newly established laws will be punished, repeals a limit on medical marijuana dispensaries and sets up a new tax structure for marijuana cultivation, distribution and sales.

“This is a pivotal moment in the history of medical marijuana and it will be for recreational as well,” said Virgil Grant, President of the Southern California Coalition, an L.A.-based marijuana advocacy group.

“This is huge for the country,” he said. “Everybody is sitting back, looking at what move the number one cannabis producing state and city is going to do. And we’re gonna deliver.”