A 23-year-old police officer in Herington, Kansas, resigned Monday after confessing to fabricating a story about a McDonald’s employee writing “F—ing Pig” on his coffee cup.

Police Chief Brian Hornaday said at a press conference that the unidentified former officer admitted he “completely and solely fabricated” the incident and said it was “meant to be a joke.” Instead, Hornaday said, it’s “absolutely a black eye on law enforcement” and an “obvious violation” of the public’s trust. The officer, he added, had been with the department for only two months.

Police officer resigns after fabricating story that a McDonald's employee wrote "F---ing Pig" on his cup 1