Pennsylvania becomes the 24th state to allow medical marijuana.

Pennsylvania becomes the 24th state to allow medical marijuana.

Pennsylvania Gov. Tom Wolf signed legislation into law giving state residents the right to purchase and consume marijuana for medical reasons.

Fox News reported the new law applies only to cannabis that can be taken via pills and oils, and that smoking the plant is still illegal.

Wolf painted the occasion as a big win for Pennsylvania residents.

The ‘Stop Hillary’ campaign is on fire! Join the surging response to this theme: ‘Clinton for prosecution, not president’

He tweeted: “Governor Wolf: ‘This is a great day for Pennsylvania and a great day for Pennsylvanians.'”

The measure takes effect next month. Pennsylvania is now the 24th state to allow marijuana use for medical reasons, AOL News reported.

The bill moved through both House and Senate in record time last week, with members of both parties showing support.

Get the hottest, most important news stories on the Internet – delivered FREE to your inbox as soon as they break! Take just 30 seconds and sign up for WND’s Email News Alerts!

“We stopped being liberals and started being problem solvers, and we stopped being conservatives and started being compromisers,” said Sen. Daylin Leach, a Democrat, ABC News reported. “And we stopped being politicians and started being human beings.”

A physician’s prescription is needed in order to obtain the marijuana, which may only be dispensed at an approved dispensary.

Wolf also tweeted: “Governor Wolf: ‘All we’re asking here is to have the ability for doctors to make … decisions that will make patients’ lives better.'”

Note: Read our discussion guidelines before commenting.