(1 of )A bonfire set by demonstrators protesting a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos burns on Sproul Plaza on the University of California at Berkeley campus on Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

(2 of )Protesters against a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus march on Telegraph Avenue Wednesday, Feb. 1, 2017, in Berkeley, Calif. A small group of people with their faces covered broke windows, hurled fireworks at police officers and threw smoke bombs, prompting UC Berkeley officials to cancel Yiannopoulos's talk Wednesday evening. (AP Photo/Ben Margot)

(3 of )University of California at Berkeley police guard the building where Breitbart News editor Milo Yiannopoulos was to speak Wednesday, Feb. 1, 2017, in Berkeley, Calif. A small group of people with their faces covered broke windows, hurled fireworks at police officers and threw smoke bombs, prompting UC Berkeley officials to cancel Yiannopoulos's talk Wednesday evening. (AP Photo/Ben Margot)

(4 of )Vandalism and graffiti are seen on a Bank of America ATM screen left by protesters against a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus Wednesday, Feb. 1, 2017, in Berkeley, Calif. A small group of people with their faces covered broke windows, hurled fireworks at police officers and threw smoke bombs, prompting UC Berkeley officials to cancel Yiannopoulos's talk Wednesday evening. (AP Photo/Ben Margot)

(5 of )Protesters against a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus march on Telegraph Avenue Wednesday, Feb. 1, 2017, in Berkeley, Calif. A small group of people with their faces covered broke windows, hurled fireworks at police officers and threw smoke bombs, prompting UC Berkeley officials to cancel Yiannopoulos's talk Wednesday evening. (AP Photo/Ben Margot)

(6 of )Protesters against a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus seen on Wednesday, Feb. 1, 2017, in Berkeley, Calif. A small group of people with their faces covered broke windows, hurled fireworks at police officers and threw smoke bombs, prompting UC Berkeley officials to cancel Yiannopoulos's talk Wednesday evening. (AP Photo/Ben Margot)

(7 of )A hat with President Donald Trump's presidential campaign slogan on it is set ablaze during a rally against a scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus on Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

(8 of )Protesters watch a bonfire on Sproul Plaza during a rally against the scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus on Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

(9 of )Protestors against a scheduled speaking appearance by polarizing Breitbart News editor Milo Yiannopoulos march on the University of California at Berkeley campus Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

(10 of )Protestors watch a bonefire on Sproul Plaza during a rally against the scheduled speaking appearance by Breitbart News editor Milo Yiannopoulos on the University of California at Berkeley campus on Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

(11 of )Protestors against a scheduled speaking appearance by polarizing Breitbart News editor Milo Yiannopoulos fill Sproul Plaza on the University of California at Berkeley campus on Wednesday, Feb. 1, 2017, in Berkeley, Calif. The event was canceled out of safety concerns after protesters hurled smoke bombs, broke windows and started a bonfire. (AP Photo/Ben Margot)

Breitbart editor's Berkeley talk nixed amid violent protest

BERKELEY — A crowd protesting a far-right commentator's appearance at the University of California at Berkeley hurled smoke bombs, broke windows and started fires Wednesday night, prompting officials to call off the event.

The decision came two hours before Wednesday's talk by Milo Yiannopoulos, a polarizing editor of Breitbart News, after some 1,500 people had gathered outside the venue.

But officials said it was a smaller group of protesters dressed in black and in hooded sweatshirts that showed up as night fell to break windows and throw smoke bombs and flares. Fires were deliberately set, the university said.

"This was a group of agitators who were masked up, throwing rocks, commercial grade fireworks and Molotov cocktails at officers," said UC Berkeley Police Chief Margo Bennet.

Bennet said police determined at that point they couldn't guarantee security, canceled the event and evacuated Yiannopoulos from the building.

There were no immediate reports of arrests or serious injuries, she said.

President Donald Trump took to Twitter on Thursday morning to comment, tweeting: "If U.C. Berkeley does not allow free speech and practices violence on innocent people with a different point of view - NO FEDERAL FUNDS?"

Prior to the burst of violence, hundreds of peaceful demonstrators carrying signs that read "Hate Speech Is Not Free Speech" had been protesting the appearance for hours.

As the evening wore on, crowds of protesters cleared away from outside 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.

Yiannopoulos, a 32-year-old right-wing provocateur, is a vocal supporter of Trump and a self-proclaimed internet troll whose comments have been criticized as racist, misogynist, anti-Muslim and white supremacist. He was banned from Twitter after leading a harassment campaign against "Ghostbusters" actress Leslie Jones.

His visit to Berkeley was sponsored by the campus Republican club. The university has stressed it did not invite him and does not endorse his ideas but is committed to free speech and rejected calls to cancel the event.

"The event has been cancelled," Yiannopoulos posted on his Facebook page. "I'll let you know more when the facts become clear. One thing we do know for sure: the Left is absolutely terrified of free speech and will do literally anything to shut it down."

The Berkeley College Republicans said its "constitutional right to free speech was silenced by criminals and thugs."

"Their success is a defeat for civilized society and the free exchange of ideas on college campuses across America," it said in a statement.

The university, which had requested assistance from police in nine UC campuses, sent a notice to all students earlier Wednesday that warned of crowds near the student union, where the 500-seat, sold-out event was scheduled.

Yiannopoulos' talks have sparked protests, shouting matches and occasional violence at stops around the country. A man was shot and wounded at protests outside his Jan. 21 talk at the University of Washington.

Rowdy protests at UC Davis Jan. 13 prompted campus Republicans to cancel his appearance at the last minute. His final stop was supposed to be UCLA on Thursday but the invitation was rescinded, making Berkeley his grand finale.