A DJ has been charged with disorderly conduct for playing NWA.'s classic 'F*ck tha Police' while cops attempted to clear an overcrowded bar.

MassLive reports the incident occurred as police officers in Westfield, Massachusetts were called to dispel the 350 people who had packed into the 160-capacity establishment, Shenanigans Pub. That's when Kashawn Harris, AKA DJ Boogy, started to play the song; which resulted in one of the officers penning the 25-year-old a summons for disorderly conduct.

"I believed at that time the combination of alcohol, the excessive amount of people in the bar and the song that the DJ chose to play at that time was an intentional act by the DJ to incite the crowd which showed a reckless disregard for public safety," wrote Officer Juanita Mejias in her report.

Mejias states a fire marshal had requested police to clear a path into the bar and get the crowd to leave, though they found it difficult due to the loud music being played. It was then she asked Harris to shut off the music, which is when Harris then allegedly started playing the N.W.A. track.

Harris has responded that the song was cued up before the police arrived and a snippet was played before the music was shut down; he stated the bar was emptied shortly after police entered, and that his side of the bar had already been cleared of people by the time he started playing the song.

The most controversial music performances Show all 11 1 /11 The most controversial music performances The most controversial music performances 1. Kanye West at Glastonbury Mr West's caused a fair bit of controversy with a number of his performances – 20 minute rants, storming off, smashing mics – but none were as notable as his headline slot at Worthy Farm. Not only was there a massive petition to get him off the bill, half way through comedian Lee Nelson invaded the stage and then Kanye was lifted into the sky via a crane. Getty Images The most controversial music performances 3. Madonna and Britney Spears kiss on stage Madge has made headlines a number of times for her on-stage antics but her 2003 MTV Video Award performance grabbed more than any other. During the live-broadcast show she took star-of-the-moment Britney Spears’ chin and pulled her in for a big kiss. The cameras turned to an unimpressed Justin Timberlake very quickly. AP The most controversial music performances 4. Miley Cyrus Twerking at MTV VMAs You couldn’t really have a controversial music performance list without Miley? In 2013 she made headlines for twerking all over Robin Thicke during a performance of the controversial ‘blurred lines’. There was outrage across America. Getty Images The most controversial music performances 5. Janet Jackson and Justin Timberlake at 2004 super bowl The super bowl half-time is one of the most sort-after performance slots in the world but has often been plagued with controversy. Notably, in 2004, a young Justin Timberlake exposed Janet Jackson’s nipple, leading to a backlash against the female singer and the term Nipplegate making regular headlines. Getty Images The most controversial music performances 7. Tupac hologram at Coachella 2012 Since 2012 a number of celebrities have been brought back to life through holograms but Tupac was the first to get the digital treatment for a Coachella show alongside Snoop Dogg and Dr. Dre. Getty Images The most controversial music performances 8. Jennifer Lopez performing for leader of Turkmenistan J-Lo was highly criticised for a corporate performance for the leader of Turkmenistan, Gurbanguly Berdimuhamedov, a man accused of human right violations. Getty Images The most controversial music performances 9. Rolling Stones Altamont gig The Altamont concert was once called 'rock’n’roll’s all time worst day' by Rolling Stone magazine, and for good reason. Throughout the day there was increasing violence, leading to the infamous death of 18-year-old Meredith Hunter at the hands of a Hells Angel. Getty Images The most controversial music performances 10. Elvis on Ed Sullivan show Elvis was a revolutionary of his time, but the moment that defined him as a counter-culture icon was on the Ed Sulivan show when, while performing Hound Dog, began shaking his hips. It was broadcast to 60 million people and was greatly criticised for its apparent 'vulgarity'. Getty Images The most controversial music performances 11. Sinhead O’Conner ripping up photo of pope Sinhead O’Conner was another performer to use her airtime to cause controversy. At the end of her SNL performance she picked up a picture of Pope John Paul II and ripped it in half, telling the audience to “fight the real enemy”. YouTube The most controversial music performances 12. Ozzy Osbourne bites head of a bat Before a reality TV show, Ozzy was only known as the prince of darkness and, in 1982, only added to the image by biting off the head of a dead bat live on stage. Apparently he didn’t realise it was actually a real bat. YouTube The most controversial music performances 13. L7 took her tampon out and threw it into the crowd Technical difficulties caused all girl metal band L7 to have mud thrown at them during a performance at Reading festival. Instead of walking off, the band decided to get angry and the lead singer took out her tampon and threw it at the crowd. YouTube

"I had no intention of inciting a riot, it was just college kids having fun," Harris said in an interview. "For them to even think I was trying to start riots was frustrating for me. That's not my kind of background, that's not where I come from."

He only realised he was being charged when he received a court summons a month later; he was found responsible for disorderly conduct and ordered to pay a $50 fine.