A group of Richmond district residents filed a petition with the Department of Elections on Tuesday to initiate a recall of Supervisor Sandra Lee Fewer, weeks after she led a controversial chant against the Police Officers Association at an election night party.

The group of 31 residents signed the petition after Fewer grabbed the microphone at an election night party for Chesa Boudin, the progressive district attorney, and began a chant against the city’s nearly 2,000-member police union: “F— the POA! F— the POA! F— the POA!”

“She has insulted the hard working men and women of San Francisco’s police force, who do their best to protect our community,” according to the letter, obtained by The Chronicle. “She has embarrassed our city before the rest of the country.”

The Notice of Intention is the first step to initiating a recall petition. The District One Supervisor, who represents the Richmond district, has seven days to respond. The petition must gather signatures from 20% of the 42,713 registered voters in the district. Then, if the department certifies the signatures, it will call for a recall election, where voters must pass a simple majority to unseat the official. The mayor will then appoint a replacement.

Recall attempts are uncommon in San Francisco, and seldom successful. Former San Francisco Mayor Dianne Feinstein was the subject of a failed recall election in 1983. More recently, a group of residents unsuccessfully attempted to recall Supervisor Aaron Peskin and former Supervisor Jake McGoldrick in 2007, and Supervisor Sophie Maxwell in 2004.

Fewer did not respond to a request for comment.

The supervisor’s election-night chant roiled the Police Officers Association, which sent her a letter demanding an apology. President Tony Montoya called her words “worrisome and completely unacceptable and unbecoming of someone elected to represent all San Franciscans.”

The “unhinged attack,” he wrote, “made our officers’ job more dangerous.”

Fewer attempted to clarify her words the next day. She apologized to the officers in the San Francisco Police Department, but stood by her negative feelings toward the union, saying the “organization continues to incite fear in our city.”

Her chant on election night highlighted the tense relationship between the association and progressive politicians in the city.

Fewer must run for re-election in November 2020. She previously told The Chronicle that she is “90% going to run for re-election,” though she has yet to file papers for the November 2020 election.

Alexandra Jansen, a Richmond district resident who serves on the neighborhood’s community police board and is behind the recall effort, said she was “not happy” with Fewer before the chant — but her election night words were the final straw.

While she said the recall is probably an “unrealistic goal,” she said the group of residents want to send her a message.

“We deserve better with our neighborhood,” she said. “Let’s show her that we’re unhappy.”

Trisha Thadani is a San Francisco Chronicle staff writer. Email: tthadani@sfchronicle.com Twitter: @TrishaThadani