When will the prohibition on cannabis end?

As many states decriminalize marijuana across the US, creating a new industry, new jobs and tax revenue, people are still being jailed for cannabis-related offenses. What will it take to end the prohibition on marijuana?