(Photo: WTAE News)

A part-time Pennsylvania police officer was fired after posting a racial slur on social media.

McKeesport Mayor Michael Cherepko took to Facebook to announce that the officer, Melissa Adamson, had been terminated after posting online, “I’m the law today ni**a” on Snapchat.

White College Students Mock ‘Black Lives Matter’ in Blackface Snapchat Pic

Adamson, according to the mayor, had only been on the job a few weeks and was a probationary employee in training.

The Pitcairn Police Department also took to Facebook to release a statement, saying, “There has been a picture circulating around of an ex-female employee of the Pitcairn Police Department. As the picture alone does not constitute misconduct, it is symbolic speech and protected under the First Amendment.”

Navy Investigates Sailor Who Refused to Stand for National Anthem

“However, it is the content of the text in the picture which is unacceptable. The Pitcairn Police Department holds high integrity for the community we serve and this type of conduct will not be tolerated.”

Michelle Obama is Hillary Clinton’s Secret Political Weapon