The Iowa Legislature has passed a bill legalizing the use of a form of marijuana oil to treat chronic epilepsy. 

The measure passed the House 75-20 and the Senate 38-8 on Thursday as lawmakers pushed toward adjournment. It goes to Gov. Terry Branstad. 

It allows the medical use of oil derived from the cannabis plant as a last-resort treatment for seizures caused by a chronic form of epilepsy. 

The oil cannot be smoked and doesn't create a high. It would have to be obtained in another state that produces it. 

A written recommendation from a neurologist is required. Patients and caregivers must acquire a registration card from Iowa's Department of Public Health.  

Mothers of children with epilepsy lobbied lawmakers and are credited with changing minds of many.