When did police officers start being referred to as "pigs"? Where does it come from?

by 1Bam18

I'm currently doing my senior seminar for my undergrad in history. I'm researching the Black Panther Party and I noticed in party literature they often refer to police officers as pigs. When did this come about?

(I promise this question is not related to my research, I'm doing a comparative analysis of how the Chicago Tribune and Chicago Defender wrote about the Black Panther Party)

bumblingbagel8

That's a cool thesis topic. I hope it goes well!