Arizona’s first legal medical marijuana dispensary is to open in Glendale two years after voters approved the use of the drug to treat certain health problems such as chronic pain and cancer.

The Glendale dispensary is among 96 applicants chosen through a lottery system for 126 geographic areas across the state.

While the law allows medical marijuana applicants to also seek growing authorizations, that right will end when a dispensary opens within 25 miles of where a patient lives. The Glendale site’s opening will mean the end of legal growing for everyone in Phoenix.

Arizona Organix was set for its grand opening Thursday morning.

Earlier this week, a state judge ruled that Arizona’s medical marijuana law is constitutional and that federal drug laws don’t stand in the way of public officials implementing it.