A federal appeals court ruled Wednesday that a California woman whose doctor says marijuana is the only medicine keeping her alive is not immune from federal prosecution on drug charges.

The case was brought by Angel Raich, an Oakland mother of two who suffers from scoliosis, a brain tumor, chronic nausea and other ailments. On her doctor's advice, she eats or smokes marijuana every couple of hours to ease her pain and bolster a nonexistent appetite as conventional drugs did not work.

The Supreme Court ruled against Raich two years ago, saying that medical marijuana users and their suppliers could be prosecuted for breaching federal drug laws even if they lived in a state such as California where medical pot is legal.

Because of that ruling, the issue before the 9th U.S. Circuit Court of Appeals was narrowed to the so-called right to life theory: that marijuana should be allowed if it is the only viable option to keep a patient alive.

Raich, 41, began sobbing when she was told of the decision and said she would continue using the drug.

"I'm sure not going to let them kill me," she said. "Oh my God."