“Fuck tha Police” takes the form of a trial against the LAPD, with Dr. Dre, MC Ren, and Ice Cube as judge, court officer, and witness.
Dr. Dre explained the song was created after the members of N.W.A were forced by police to lay face down in the street with guns to their heads.
However, the reason why the police were harassing them was because Eazy-E was doing drive-bys shootings on innocent people on bus stops with a paintball gun, as Dre explains below:
The song caught the attention of the FBI, which sent a letter to Priority Records about N.W.A’s album. Although the FBI did not refer to “Fuck The Police” by name, their letter claimed the album “encourages violence against and disrespect for the law enforcement officer.
The instrumental heard during the court house skit, samples Public Enemy’s “Bring The Noise”.
In a 2015 interview with DJ Vlad, DJ Yella claimed the song only took a day to make.
Bonus : here’s two clips that are scenes from the movie Straight outta Compton (2015) that illustrates a little how things must’ve happened to create the song