After struggling for years to regulate storefront pot shops, the Los Angeles City Council retreated Tuesday, voting to repeal the carefully crafted ban on medical marijuanadispensaries it approved a few months ago.

The move shows the political savvy of the increasingly organized and well-funded network of marijuana activists who sought to place a referendum overturning the ban on the March ballot, when the mayor and eight council seats will be up for grabs.