BEVERLY HILLS, Calif. – A Beverly Hills police chief is at the center of an ugly, costly and lengthy legal battle after the wealthy city agreed to pay $2.3 million to settle a lawsuit brought by a former high-ranking police officer amid an onslaught of other allegations.

Chief Sandra Spagnoli, a self-described “change agent,” was hired in 2016. She previously served as the chief of the San Leandro and Benicia police departments in Northern California.

Following her appointment in Beverly Hills, she was lavished with praise from the city’s mayor and council members, as well as Vogue magazine, for aggressive reforms. However, she now faces accusations of misconduct herself.

Spagnoli is accused of referring to yarmulkes worn by observant Jews as “funny little hats,” asked if she had to “dress Mexican” when invited to a meal at a Latino employee’s home, and reacted with revulsion when she was informed that an employee was gay. Other court documents contain allegations that Spagnoli had sex with subordinate officers who were later rewarded with promotions, according to the Los Angeles Times.

Capt. Mark Rosen, who is Jewish, accused Spagnoli of harassment and workplace misconduct, denying him promotional opportunities based on his religion.

Rosen retired immediately following the $2.3 million suit was settled in December. Nevertheless, he said he fears for his colleagues.

“I am concerned for my co-workers I am leaving behind, the officers and civilians alike who continue to be victimized,” Rosen said.

Moreover, the Beverly Hills top cop faces at least 20 civil suits or employee complaints of racial and sexual discrimination, according to court records.

Beverly Hills

Beverly Hills Police Chief Sandra Spagnoli was hired in 2016 with praise for being a self-described “change agent,” but now she faces at least 20 accusations of misconduct. (City of Beverly Hills)

Recently, the city attorney’s office hired Michael Sitrick — the crisis public relations specialist whose clients have included business titans as well as celebrities in trouble ranging from Paris Hilton to Harvey Weinstein— to help the city navigate the optics nightmare created by the litigation.

Spagnoli has repeatedly denied the allegations, characterizing them as pushback to her efforts to change the agency, Fox News reported.

“I’m disappointed at some of the personal attacks against me, particularly because I can tell you I love this community. I love being a key factor in public safety and making a difference,” she said. “It hasn’t been easy running the department while under fire from different directions.”

The decision to settle Rosen’s lawsuit was made by the city’s insurance company, according to a spokesman.

“I submit to you an insurance company isn’t going to pay $2.3 million unless it believes we have demonstrated a very strong case,” said attorney Brad Gage, who represents several people who have made claims against Spagnoli.