New York’s Solicitor General Barbara Underwood has been appointed the state’s acting Attorney General, less than 24 hours after a New Yorker exposé detailing physical abuse accusations by four women against AG Eric Schneiderman led to his resignation.

Schneiderman said Monday night that the allegations, which he contests, made it impossible to continue as the state’s leading law enforcement officer. His resignation came three hours after the magazine broke its story.

Before becoming Solicitor General appointed by Gov. Andrew Cuomo, Underwood served as Counsel and as Chief Assistant to the U.S. Attorney for the Eastern District of New York, and from 1998-2001 was the Acting Solicitor General and Principal Deputy Solicitor General of the U.S. She has argued 20 cases in the U.S. Supreme Court.

“I am honored to serve the people of New York as acting Attorney General,” she said. “The work of this office is critically important. Our office has never been stronger, and this extraordinarily talented, dedicated, and tireless team of public servants will ensure that our work continues without interruption.”

That work includes a civil rights lawsuit filed by Schneiderman on behalf of the office against Harvey Weinstein and The Weinstein Company, the result of a four-month investigation. It cited the disgraced producer’s “egregious examples of sexual misconduct” and violations of New York law by the company that endangered its employees. It came as TWC is in the midst of selling its assets via a Chapter 11 bankruptcy sale.