In December 2012, the U.S. state of Washington became the first state to officially legalize cannabis in a state law (Washington Initiative 502) (but still illegal by federal law), with the state of Colorado following close behind (Colorado Amendment 64). On 1 January 2013, the first marijuana "club" for private marijuana smoking (no buying or selling, however) was allowed for the first time in Colorado. The California Supreme Court decided in May 2013 that local governments can ban medical marijuana dispensaries despite a state law in California that permits the use of cannabis for medical purposes. At least 180 cities across California have enacted bans in recent years.