Hours after Alabama Gov. Kay Ivey signed into law one of the most restrictive abortion laws in the country, Rep. Alexandria Ocasio-Cortez, D-N.Y., accused lawmakers of trying to own women.

"Abortion bans aren’t just about controlling women’s bodies. They’re about controlling women’s sexuality. Owning women," she tweeted a little after 1 a.m. on Thursday. "From limiting birth control to banning comprehensive sex ed, US religious fundamentalists are working hard to outlaw sex that falls outside their theology."

The Alabama measure, which is the most recent to be signed into law, will ban abortions in almost all cases except where a woman's health is in danger.

More:Where is abortion legal? Everywhere. But ...

More:Rape victim who had illegal abortion at age 13 calls Alabama's law 'an abomination'

Just this year alone, Kentucky, Georgia, Mississippi, and Ohio have all passed laws banning abortion once a fetal heartbeat is detected, which can occur before many women know they're pregnant.

A number of Democratic lawmakers, including many who are running for president, have spoken out against the recent spate of restrictive abortion laws.

Ocasio-Cortez said the recent measures come down to "women's power."

"When women are in control of their sexuality, it threatens a core element underpinning right-wing ideology: patriarchy," she tweeted. "It’s a brutal form of oppression to seize control of the 1 essential thing a person should command: their own body."

Like what you’re reading?:Download the USA TODAY app for more

At 5:25 p.m. on Thursday, Ocasio-Cortez added further commentary, highlighting what she saw as male politicians' hypocrisy on abortion.

"If male politicians could get pregnant, there would be as many Planned Parenthood clinics as there are Post Offices," she tweeted.

Over 4,500 people had retweeted it, and nearly 22,000 people had liked that tweet by the time of publication.