Story highlights Gov. Andrew Cuomo signs a bill that allows medical marijuana use in nonsmokable form

The state legislature passed the bill in June

Under the bill, a doctor can prescribe marijuana to patients with serious conditions

(CNN) New York became the latest state to permit the use of medical marijuana on Monday.

At a news conference in New York City, Gov. Andrew Cuomo signed the Compassionate Care Act, which allows doctors to prescribe marijuana in a nonsmokable form to patients with serious ailments that are recognized by the state on a predefined but flexible list of conditions.

JUST WATCHED Dr. Gupta: I agree with Clinton on pot Replay More Videos ... MUST WATCH Dr. Gupta: I agree with Clinton on pot 03:05

JUST WATCHED 'Doubling down' on medical marijuana Replay More Videos ... MUST WATCH 'Doubling down' on medical marijuana 03:01

The bill was passed by the State Assembly and Senate in June, said Jason Elan, a spokesman for Sen. Diane Savino, a sponsor of the bill.

Cuomo said Monday that it was difficult to develop and pass the bill because it needed to embrace increased medical acceptance of marijuana while rejecting situations and conditions that state legislators said could have "good intent and bad results."

"There is no doubt that medical marijuana can help people," Cuomo said Monday. "We are here to help people. And if there is a medical advancement, then we want to make sure that we're bringing it to New Yorkers."