Researchers from Johns Hopkins University have recommended that psilocybin, the active compound in hallucinogenic mushrooms, be reclassified for medical use, potentially paving the way for the psychedelic drug to one day treat depression and anxiety and help people stop smoking.

The suggestion to reclassify psilocybin from a Schedule I drug, with no known medical benefit, to a Schedule IV drug, which is akin to prescription sleeping pills, was part of a review to assess the safety and abuse of medically administered psilocybin.

Before the Food and Drug Administration can be petitioned to reclassify the drug, though, it has to clear extensive study and trials, which can take more than five years, the researchers wrote.

The analysis was published in the October print issue of Neuropharmacology, a medical journal focused on neuroscience.

The study comes as many Americans shift their attitudes toward the use of some illegal drugs.