Fierce protests erupted in Anaheim on Wednesday as Donald Trump arrived for a rally in the Californian city.

Police in riot gear swarmed the streets on Wednesday afternoon trying to curtail the crowds who were throwing objects, setting trash cans on fire, and brandishing anti-Trump signs.

The uproar was centered on the Anaheim Convention Center, which was blocked by a wall of mounted police and barricades.

At least five people were arrested for staging an unlawful protest, the LA Times reported.

Scroll down for video

Police in riot gear swarmed the streets on Wednesday afternoon trying to curtail the crowds who were throwing objects, setting trash cans on fire, and brandishing anti-Trump signs

Police arrest a protester during an anti-Trump demonstration outside the Anaheim Convention Center

The uproar was centered on the Anaheim Convention Center, which was blocked by a wall of mounted police and barricades. It comes a day after violent protests outside Trump's speech in Albuquerque, New Mexico

Daron Wyatt, an Anaheim police spokesman, said the force was on high alert after the scenes in Albuquerque

Signs depict Trump as the Joker and a Nazi and make reference to his plans to build a wall by Mexico

Los Angeles County Sheriffs in riot gear speed down a road as they chase demonstrators

It comes a day after violent protests outside Trump's speech in Albuquerque, New Mexico.

Riot police used pepper spray and smoke canisters to control the fire-starting demonstrators.

As in Albuquerque, a number of demonstrators in Anaheim were brandishing Mexican flags.

By 3pm local time most of the protesters had been rounded up, leaving around 12.

Sgt. Daron Wyatt, an Anaheim police spokesman, said the violence could have escalated but the force was on high alert after the scenes in Albuquerque.

'I think a lot of it was the planning and preparation.

'We had a very strong uniformed presence from the beginning, which I think set the tone.

An Orange County Sheriff's deputy takes a demonstrator with a clown mask into custody during the protest

Officers are seen detaining a demonstrator at 3pm in Anaheim on Wednesday

An anti-Trump protester (left) and a Trump support clash outside a campaign rally by presumptive GOP presidential candidate Donald Trump at the Anaheim Convention Center on Wednesday

As in Albuquerque, a number of demonstrators in Anaheim were brandishing Mexican flags

One protester was kicked out of the convention center during the event

Protestors unfurl the Mexian flag before police outside the Anaheim Convention Center prior to Trump's rally

Supporters of Republican presidential candidate Donald Trump inside the campaign rally

'It helped by keeping the protestors away from the attendees as well,' Wyatt told the Times.

One protester was kicked out of the convention center during the event.

Trump ended his speech, as he has in other rallies, saying 'The safest place to be in our country is a Trump rally.'

During the rally he hammered Hillary Clinton.

'Crooked Hillary!' he boomed. 'She's as crooked as they come. She had a little bad news today ... not so good. The inspector general's report. Not good.'

'But I want to run against Hillary,' he insisted, even if her legal problems make her candidacy untenable.

'I just want to run against her. Look, I don't know if you're going to be able to. It could be we run against Crazy Bernie. That could be.'

'He's a crazy man, but that's okay. We like crazy people,' Trump said of Sanders.

Riot police used pepper spray and smoke canisters to control the fire-starting demonstrators in New Mexico