BERKELEY, Calif. (AP) — A University of California, Berkeley official says a talk by a polarizing Breitbart News editor at the university was canceled Wednesday as protesters outside the building where the speech was to have taken place threw smoke bombs and set a fire.

UC Berkeley spokesman Dan Mogulos says officials were advising the campus to shelter in place and to stay away from the student union building, where Milo Yiannopoulos was scheduled to speak.

READ MORE: Woman Discovers $3 Million Lottery Prize In Her Spam Folder

A group of protesters dressed in black and some in hooded sweatshirts broke windows, threw smoke bombs and flares at a building and set a large bonfire outside the building.

Some of the protesters pulled away metal barricades as police in riot gear guarded the building.

By 8 p.m., the crowd had thinned and at least 100 protesters that remained danced to a brass band playing music and marched off campus and into a main avenue.

Hundreds of peaceful demonstrators carrying signs that read “Hate Speech Is Not Free Speech” had been protesting for hours before the event.

READ MORE: KD Sunday Spotlight: Eden’s Farm Raising Awareness For Victims Of Human Trafficking

UC Berkeley spokesman says there are no immediate reports of arrests or serious injuries.

Yiannopoulos, 32, a right wing provocateur, is a vocal supporter of President Donald Trump and a self-proclaimed internet troll whose comments have been criticized as racist, misogynist, anti-Muslim and white supremacist.

His visit to Berkeley is sponsored by the campus Republican club.

Join The Conversation On The KDKA Facebook Page
Stay Up To Date, Follow KDKA On Twitter

MORE NEWS: All 100 Lab Monkeys Accounted For After Several Escaped Crash

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)