The Philadelphia police commissioner has suspended 17 officers for 30 days and is moving to fire 13 of them over social media posts he called "sickening.".
Police Commissioner Richard Ross made the announcement during a news conference Thursday attended by Philadelphia Mayor James Kenney and the entire police department's command staff.
"I continue to be very angered and disappointed by these posts, many of which, in my view, violate the basic tenets of human decency," Ross said. "And I am saddened by the fact that there are even some who would attempt to justify such hateful and vile behavior."
The disciplinary action stems from research published by the watchdog group the Plain View Project, which examined more than 3,100 allegedly troubling Facebook posts made by 328 active Philadelphia police officers, 72 of whom were put on administrative duty.
Ross said an investigation by an outside law firm contracted by the city found that the officers being suspended allegedly made racist, transphobic and otherwise hateful posts.
The second group of officers posted material that is not only offensive and unprotected but constitutes an act or continuing course of conduct which demonstrates that the officers have little or no regard for their position as police officers
The police department immediately launched an internal investigation on June 1 when agency officials were made aware of the questionable social media posts, according to Ross.
He added that most of the 72 officers who had been pulled off street duty posted material "which advocates excessive force, but not necessarily to a person's membership in a protected class." He said such posts violated the city's social media directive by posting statements that "erode the trust necessary for a police department to carry out its core mission."
Ross said officers who fell into the less egregious category will receive discipline ranging from a reprimand to a five-day suspension.
"The second group of officers posted material that is not only offensive and unprotected but constitutes an act or continuing course of conduct which demonstrates that the officers have little or no regard for their position as police officers," Ross said.
He said the 17 officers who allegedly fell into that category will be suspended for 30 days, and the department will move to dismiss 13 of them.
The Philadelphia Fraternal Order of Police, whose president previously opposed disciplinary action being taken against officers involved in the scandal, posted a statement on the union's website on Thursday, saying, "No member should agree to any discipline nor sign anything without first contacting the FOP."
Commissioner Ross said the officers facing the harshest discipline allegedly posted anti-Islamic statements such as "Death to Islam," used slurs to describe African Americans, encouraged police brutality, and posted homophobic memes suggesting "violence against transgender individuals."
"These posts undoubtedly have a profound impact on our police-community relations in this city, and, arguably, have an impact on the profession," said Ross, who did not release the names of any of the officers being punished.
He said most of the 72 officers allegedly involved in the offensive social media posting went through training on June 28 on social media and professionalism and will be required to complete more training on those subjects.
Ross also said the department will purchase or develop a proactive mechanism to audit officer-related social media and identify potential problems, and that all officers will have to go through anti-bias training sometime in the fall.
He noted the diversity of his department and said that now it was disappointing that good officers will have to work alongside colleagues involved in the scandal.
"So that is disheartening to know that in 2019 that we still have people with these views. That not only have these views but would take to social media, in very public space, to expound on such views in a way that is absolutely sickening," he said.
Mayor Kenney said the officers involved in the offensive social media postings let down the citizens of Philadelphia.
"Our police officers are entrusted to serve the people of Philadelphia, everybody, all the people of Philadelphia," Kenny said. "A great deal of the social media content was contradictory to that principle and antithetical to our administration's values."
Kenney praised the department for taking a "positive step to prevent issues like this from ever happening again."
ABC News' Brendan Rand contributed to this report.