GREENSBORO, N.C. — North Carolina's governor has signed a sexual assault bill that says women can revoke consent during sex.

Gov. Roy Cooper said in a news release Thursday that he had signed the bill, which undoes a 1979 court decision that made North Carolina the only state where women can't revoke consent.

RELATED: No Means No. New NC Law Close Loopholes in Sexual Assault Cases, Strengthen Penalties Against Child Abusers

The law also undoes a court ruling from 2008 that said sexual assault laws don't apply to people who were incapacitated because of their own action as victims, such as by taking drugs or alcohol. It also increases penalties for child abusers.

“For too long, North Carolina has not protected sexual abuse victims the same ways other states have, and this law closes that consent loophole,” said Governor Roy Cooper. “This bipartisan legislation goes a long way to protect all victims of sexual assault, especially children, and will help more people seek justice against abusers.”

The law goes into effect Dec. 1.

HERE'S THE FULL TEXT OF THE SB 199

Both houses of the legislature approved the bill unanimously last week. Cooper says the bipartisan legislation "will help more people seek justice against abusers."

Stay connected to local, national and breaking news:

Download the WFMY News 2 iPhone app | Android appSign up for the WFMY 'Let's Get 2 It' Newsletter