Beleaguered Rochester Mayor Lovely Warren — whose administration came under fire for mishandling the case of a Black man who died in police custody — was arraigned Monday afternoon on unrelated campaign finance charges.

Her lawyer, Joseph Damelio, entered a plea of not guilty on her behalf in the Monroe County Hall of Justice to one count each of scheme to defraud and an election-law violation for allegedly evading campaign contribution limits while running for a second term in 2017.

ROCHESTER, NY MAYOR WARREN INDICTED ON CHARGES INCLUDING DEFRAUD IN FIRST DEGREE AND VIOLATION OF ELECTION LAW

Lovely, wearing glasses, a mask and a white coat, sat behind her attorney in the first row of the gallery during the proceeding.

Cayuga County Judge Thomas Leone ordered Warren released on her own recognizance after prosecutors said the crimes for which she’s charged are not eligible for bail.

“Obviously it goes without saying you cannot be getting into any trouble at all along the way,” Leone cautioned the mayor.

CUOMO WARNS NYC RELIGIOUS INSTITUTIONS COULD BE SHUT DOWN FOR CORONAVIRUS VIOLATIONS

The Monroe County District Attorney’s Office unsealed the indictment last week against Warren, a Democrat, and two associates Albert Jones Jr., her campaign treasurer, and Rosiland Brooks Harris, her finance director.

The indictment alleges that Warren and her co-defendants encouraged 28 donors to exceed $8,500 campaign-contribution limits. The donors gave to her campaign account and a separate political action committee — both to aid her re-election.

Rochester Mayor Lovely Warren, left, speaks to the media during a press conference in Rochester, N.Y., Thursday, Sept. 3, 2020, where she announced the suspension of officers involved in the death of Daniel Prude. (AP Photo/Adrian Kraus)

Rochester Mayor Lovely Warren, left, speaks to the media during a press conference in Rochester, N.Y., Thursday, Sept. 3, 2020, where she announced the suspension of officers involved in the death of Daniel Prude. (AP Photo/Adrian Kraus)

Jones and Harris were also arraigned Monday, with their lawyers entering pleas of not-guilty on their behalf. They