Doctors in California can now prescribe lethal doses of drugs in what's widely known as "physician-assisted suicide."

The bill, signed Monday by Gov. Jerry Brown, is called the End of Life Option Act. It lets physicians provide prescriptions of lethal drugs to adults with terminal illnesses and a life expectancy of six months or less.

>> RELATED: Brittany Maynard, woman with terminal brain cancer, ends her own life

So-called "assisted suicide" has been widely debated, and Brown said the decision to approve California's bill was a hard one.

Twenty-nine-year-old Brittany Maynard put California at the center of the debate last year when she left the state — her home — and moved her family to Oregon where she could legally end her life.

>> RELATED: Supporters of Brittany Maynard release birthday video

"No one should have to leave their home and community for peace of mind to escape suffering and plan for a gentle death," Maynard said.

According to The Washington Post, most terminally ill patients who choose this course in Oregon take secobarbital or pentobarbital. The patient is usually unconscious within 25 to 100 minutes.

>> RELATED: Brittany Maynard's husband talks about wife’s decision to end her own life

The new California law is similar to Oregon's. It requires that patients have multiple approvals and witnesses to their decision, and be able to physically take the medication themselves.

As a former Jesuit seminary student, Brown said he considered input from doctors, religious leaders and disability rights advocates.

>> Read more trending stories

He told the California State Assembly, "I do not know what I would do if I were dying in prolonged and excruciating pain. I am certain, however, that it would be a comfort to be able to consider the options afforded by this bill."

California joins four other states — Oregon, Washington, Montana and Vermont — that also have legislation like this. A handful of countries including Switzerland, Belgium, Luxembourg and the Netherlands have legalized some form of assisted suicide as well.

This video includes images from Getty Images.