The city of San Jose, California - the 10th largest in the U.S.- voted Tuesday to approve regulations that will limit the number of medical marijuana dispensaries to 10.

San Jose's City Council voted on Wednesday 8-3 to limit the number of pot clubs to 10, reports the San Jose Mercury News . The regulations will also require clubs to grow all their marijuana on site.

City officials estimate that about 140 medical marijuana dispensaries and delivery services exist currently in the city, reports the Associated Press.

The vote angered marijuana activists who criticized the new regulations as "unworkable" and threatened to fight them in court or at the ballot box.