Rapper YG whipped a Coachella crowd up into a Trump-hating frenzy on Friday, getting the 20,000-strong audience to chant 'F*** Donald Trump' before launching into a song that predicts riots and assassination for the Republican candidate.

The song was 'FDT,' a three-minute rant against Trump that features the lines 'Have a rally out in L.A., we gon' f*** it up,' and warns 'if [Trump's] ass do win, [he's] gon' prolly get smoked.'

The gig had attracted a crowd carrying placards and signs denouncing Trump, who responded well to YG's 'inciting' words The Source reported.

Scroll down for video

Chanting: Rapper YG (pictured) had 20,000 Coachella visitors chanting 'F*** Donald Trump' on Friday, before performing a new song that promises riots at Trump rallies and predicts that Trump will be assassinated

The song, which was co-written between YG and fellow rapper Nipsey Hussle - who wasn't present for the Coachella gig - caused a stir among conservative listeners thanks to its aggressively anti-Trump lyrics.

They include a chorus that repeats a variation of 'f*** Donald Trump' eight times, and openly threatens to attack Trump rallies.

One verse from YG says: 'Have a rally out in L.A., we gon' f*** it up / Home of the Rodney King riot, we don't give a f*** ... I'm 'bout to turn Black Panther / Don't let Donald Trump win, that n*****'s cancer.'

A second verse by Hussle says, 'You built walls? We gon' prolly dig holes / And if your a** do win, you gon' prolly get smoked.'

The final verse, which calls Trump 'wicked and wigged,' ends with YG saying: 'When me and Nip link, that's Bloods and Crips / Where your L.A. rally? We gon' crash your s***.'

'Smoked': The song, written by YG (pictured left at Coachella) and Nipsey Hussle, who wasn't at the gig, also says to Trump: 'If your a** do win, you gon' prolly get smoked'

Video: The video, recorded in L.A., shows YG and Hussle (left) parading down the street with around 100 people who appear to hate Trump. The video also shows anti-Trump graffiti

YG is a member of the Bloods and Hussle a member of the Crips, both large and traditionally opposed L.A. gangs, MTV reported.

The accompanying video, filmed in YG and Hussle's home city of L.A., features both rappers joined by white, black, Hispanic and Asian supporters flipping off the camera and chanting in the street.

Fast cars pulling donuts and people spray-painting 'F*** Donald Trump' graffiti also feature prominently.

The shoot for the video, which took place at the start of the month, proved so hectic, in fact, that it was shut down by cops in riot gear, TMZ reported.

The channel also said that one bystander was hit by one of the sports cars, but was uninjured.

The video opens with a command for viewers to 'Register ASAP and vote wisely.'