Pennsylvania is now the 24th state to legalize medical marijuana, after Gov. Tom Wolf signed a comprehensive medical marijuana bill into law on Sunday.

The pro-legalization Marijuana Policy Project summarized the measure:

SB 3 would allow patients with qualifying conditions to use and safely access medical cannabis with their physicians’ recommendations. Up to 25 Department of Health-permitted growers and processors would produce medical cannabis, which could be dispensed by up to 50 dispensaries, each of which could have up to three locations. The qualifying conditions include cancer, HIV/AIDS, multiple sclerosis, PTSD, seizures, autism, sickle cell anemia, and intractable pain if conventional therapies or opiates are contraindicated or ineffective.

With Pennsylvania as the latest addition, nearly half of the states across the US allow legal medical marijuana. Here's where other states stand for now:

This map could change dramatically over the next year. Advocates plan to put full pot legalization on the ballot in several states, including California, in 2016. Pennsylvania, then, could just be just one of many victories for marijuana legalization supporters this year.