NEW YORK (AP) — New York Attorney General Eric Schneiderman, who had taken on high-profile roles as an advocate for women’s issues and an antagonist to the policies of President Donald Trump, announced late Monday that he would be resigning from office hours after four women he was romantically involved with or had romantic interactions with accused him of physical violence in accounts published by The New Yorker .

Schneiderman, who had been running for re-election, said he contested the women’s accounts, but “while these allegations are unrelated to my professional conduct or the operations of the office, they will effectively prevent me from leading the office’s work at this critical time.” He said he would resign at the close of business on Tuesday.

Two women had spoken to The New Yorker on the record, saying Schneiderman repeatedly hit them during the course of their relationships with him in recent years, and never with their consent. Neither woman filed any police complaints, but both said they sought out medical attention and confided in people close to them about the abuse.

A third woman who also was involved with him told her story to the other two women, but said she was too frightened to come forward. A fourth woman said Schneiderman slapped her when she rebuffed him during an intimate encounter, but also asked to remain unidentified. The New Yorker said it vetted the third woman’s allegations, and saw a photo of what the fourth woman said was her injury.

The accusations had led Democratic New York Gov. Andrew Cuomo to call for an investigation and for Schneiderman to immediately resign.

The two women who spoke on the record, Michelle Manning Barish and Tanya Selvaratnam, both said the physical abuse escalated over time, including choking and hitting, and that Schneiderman also was a heavy drinker. The Associated Press is identifying the women because they agreed to tell their stories publicly.

On Twitter, after the story was published, Manning Barish said, “After the most difficult month of my life-I spoke up. For my daughter and for all women. I could not remain silent and encourage other women to be brave for me. I could not…”

Manning Barish said she was involved with Schneiderman from mid-2013 through the end of 2014; Selvaratnam said she was involved with him from the summer of 2016 until fall 2017.

Manning Barish said Schneiderman started getting violent a few weeks after they began dating, slapping her one night after an evening out and escalating to choking her. She said she confided in friends, including novelist Salman Rushdie.

Selvaratnam, who was born in Sri Lanka, said Schneiderman started calling her his “brown slave” and made her say that she was “his property.”

“After I found out that other women had been abused by Attorney-General Schneiderman in a similar manner many years before me, I wondered, who’s next, and knew something needed to be done,” Selvaratnam said in a statement to the AP. “So I chose to come forward both to protect women who might enter into a relationship with him in the future but also to raise awareness around the issue of intimate partner violence.”

Schneiderman, a Democrat, had issued a statement to The New Yorker saying, “In the privacy of intimate relationships, I have engaged in role-playing and other consensual sexual activity. I have not assaulted anyone. I have never engaged in non-consensual sex, which is a line I would not cross.”

His representatives sent the same statement to The Associated Press when asked about the accusations. They also sent a statement from his ex-wife, Jennifer Cunningham, who said, “I’ve known Eric for nearly 35 years as a husband, father and friend. These allegations are completely inconsistent with the man I know, who has always been someone of the highest character, outstanding values and a loving father. I find it impossible to believe these allegations are true.”

Cuomo in his statement said, “No one is above the law, including New York’s top legal officer. I will be asking an appropriate New York District Attorney(s) to commence an immediate investigation, and proceed as the facts merits.”

Schneiderman has been a vocal supporter of the (hash)MeToo movement. He filed a lawsuit in February against movie producer Harvey Weinstein and the Weinstein Co. following an investigation into allegations of sexual misconduct, saying the company broke New York law by failing to protect employees from “pervasive sexual harassment, intimidation and discrimination.”

He launched a civil rights probe into the New York City-based company in October after The New York Times and The New Yorker exposed allegations of sexual assault and harassment spanning decades. The company later fired Weinstein.

The women accusing him said seeing him speak out on sexual misconduct issues was part of the impetus in them coming forward.

“This is a man who has staked his entire career, his personal narrative, on being a champion for women publicly,” Selvaratnam said. “But he abuses them privately. He needs to be called out.”

Schneiderman, who won a state Senate seat representing a Manhattan district in 1998, became attorney general in 2010 and had been running for re-election this year. Under the state Constitution, a vacancy in the office is filled by the state Legislature.

Schneiderman has a history of recognition for activism on behalf of women’s causes, including reproductive rights.

The 63-year-old also has been a longtime critic of President Donald Trump, and has been part of several efforts to push back against some of his actions in the White House, like the rescinding of protection for immigrants brought to the U.S. illegally as children.

Last month, he urged state lawmakers to close a loophole that he said could be used to fight state charges by anyone who has received a federal pardon for similar federal charges.

On Twitter, Donald Trump Jr. offered pointed commentary. He showcased one of Schneiderman’s tweets from last year saying that he would remind President Trump that no one was above the law, with Trump Jr. adding, “You were saying???”

A Republican opponent, Manny Alicandro, had just officially launched his candidacy on Monday. After The New Yorker report, Alicandro said, “If true, he is a disgrace and wholly unfit for the role of New York State’s chief legal officer. I believe the accusers.”

(Copyright (c) 2020 Sunbeam Television. The Associated Press contributed to this report. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)