California will become the fifth state to allow terminally ill patients to legally end their lives using doctor-prescribed drugs after Gov. Jerry Brown announced Monday he signed one of the most emotionally charged bills of the year.

Brown, a lifelong Catholic and former Jesuit seminarian, announced he signed the legislation after thoroughly considering all opinions and discussing the issue with many people, including a Catholic bishop and two of Brown's doctors.

"In the end, I was left to reflect on what I would want in the face of my own death," the governor wrote in a signing statement that accompanied his signature on the legislation. "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.

He added he wouldn't deny that right to others.

Until now, Brown had declined to comment on the issue.

State lawmakers approved the bill Sept. 11. A previous version failed this year despite the highly publicized case of 29-year-old Brittany Maynard, a California woman with brain cancer who moved to Oregon to end her life. Her mother, Deborah Ziegler, lives in Carlsbad, north of San Diego, and retold NBC7 she wanted to hug Brown for signing the bill.

"I believe that this brings some meaning to my daughter's death, and it doesn't take away the pain, but it's hard to describe," she said. "It's bittersweet, it's bittersweet."

Since her daughter's death, Ziegler has said her daughter's death is emotional and deeply personal. She has made passionate pleas to lawmakers since the passing, asking for them to pass the legislation.

"Whether or not someone becomes terminally ill in your family or not, the passage of this act could be good for your family, regardless of that because the openess that we're gonna bring to end-of-life cases and those conversations," Ziegler said.

In her Carlsbad home, holding a photo of her daughter, she talked about a conversation she had with her daughter about the bill, shortly before her passing.

"She equated the bill to her legacy a gift and her gift to me in lieu of grandchildren because she knew that I would love to be a grandma and she said 'mom, I'm giving you this instead,' and it would probably run your butt around like grandkids to work on this," Ziegler said.

Opponents said the bill legalizes premature suicide, but supporters called that comparison inappropriate because it applies to mentally sound, terminally ill people and not those who are depressed or impaired.

Religious groups and advocates for people with disabilities opposed the bill and nearly identical legislation that had stalled in the Legislature weeks earlier, saying it goes against the will of God and put terminally ill patients at risk for coerced death.

The measure was brought back as part of a special session intended to address funding shortfalls for Medi-Cal, the state's health insurance program for the poor. The governor had criticized the move to bypass the usual process.

The bill he received includes requirements that patients be physically capable of taking the medication themselves, that two doctors approve it, that the patients submit several written requests, and that there be two witnesses, one of whom is not a family member.

California's measure came after at least two dozen states introduced aid-in-dying legislation this year, though the measures stalled elsewhere. Doctors in Oregon, Washington, Vermont and Montana already can prescribe life-ending drugs.

Maynard's family attended the legislative debate in California throughout the year. Maynard's mother, Debbie Ziegler, testified in committee hearings and carried a large picture of her daughter as she listened to lawmakers' debate.

In a video recorded days before Maynard took life-ending drugs, she told California lawmakers that no one should have to leave home to legally kill themselves under the care of a doctor.

"No one should have to leave their home and community for peace of mind, to escape suffering, and to plan for a gentle death," Maynard said in the video released by right-to-die advocates after her death.[[278591731, C]]

The Catholic Church targeted Catholic lawmakers before the bill's passage and urged the governor to veto it.

"Pope Francis invites all of us to create our good society by seeing through the eyes of those who are on the margins, those in need economically, physically, psychologically and socially," the California Catholic Conference said in a statement after its passage. "We ask the governor to veto this bill."

You can read the memo Brown issued when signing the bill by clicking here. [[330750672, C]]