HARRISBURG, Pa. (AP) — A Pennsylvania appeals court is considering whether anti-police rap lyrics amount to protected speech under the First Amendment or are a criminal threat to harm Pittsburgh police officers.

The state Supreme Court heard oral arguments Tuesday in the case of Jamal Knox, who served time in state prison for the song he recorded after being arrested on drug charges.

READ MORE: Philadelphia Police Investigating 2 Separate Fatal Hit-And-Runs: 'It Can Get Pretty Chaotic Around Here'

Police Investigating Murder After Finding Body In West Philadelphia

Questions from the justices focused on whether Knox intended it as a true threat to officers and whether the reaction to the song by police is relevant to the criminal charges.

READ MORE: Temple University Students, Faculty Have Mixed Feelings About Returning To In-Person Learning

Knox was charged after an officer found a YouTube video with Knox performing the song under the name Mayhem Mal of the Ghetto Superstar Committee.

The song mentions Richard Poplawski, who’s on death row for killing three Pittsburgh police officers.

MORE NEWS: Teenage Boy Shot 7 Times In West Philadelphia, Police Say

(Copyright 2017 by The Associated Press. All Rights Reserved.)