SACRAMENTO (AP)  — Gov. Jerry Brown has waded into the national debate over child vaccinations for sexually transmitted diseases, signing a bill allowing children as young as 12 to get vaccinated without their parents’ consent.

Brown announced Sunday that he had signed AB499, which lets minors get vaccinated against a virus known as human papilloma. Also known as HPV, the virus is a precursor to a leading cause of cervical cancer.

READ MORE: MLB Extends Trevor Bauer's Administrative Leave Through August 6

Under the bill signed by Brown, children will also be able to get other STD prevention treatments, including new medicines that help prevent HIV infection if given within 72 hours of exposure.

Supporters say the law will keep up with new prevention treatments and help slow the spread of disease among minors.

READ MORE: Homeless Man Charged With Hate Crime, Yelling Racial Slurs While Attacking Korean Woman In Santa Monica For Her Purse

Opponents say it undermines parents’ right to be involved in their children’s medical decisions.

The choice has been hotly debated recently in the Republican presidential race.

MORE NEWS: Ed Buck Found Guilty In West Hollywood Overdose Deaths

(© Copyright 2011 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)