Associated Press

DAVIS, Calif. — Speeches by far-right commentator Milo Yiannopoulos and former pharmaceutical executive Martin Shkreli were canceled Friday night after heated protests erupted at the University of California, Davis.

University police put up barricades as protesters shouting “shut it down” grew increasingly rowdy in the hours leading up to the talks. The UC Davis College Republicans, who sponsored the event, chose to cancel about a half-hour before the event began.

Yiannopoulos, who writes for right-wing Breitbart News and is permanently banned from Twitter after leading a harassment campaign against “Ghostbusters” actress Leslie Jones, said on his Facebook page that the event was canceled after “violence from left-wing protesters.”

College campus provocateur Milo Yiannopoulos just got a huge book deal

But campus police said there was no violence or property destruction, and no arrests were made.

UC Davis Interim Chancellor Ralph J. Hexter, who had staunchly defended allowing the event, said he was “deeply disappointed” by the protests and cancellation.

“Our community is founded on principles of respect for all views, even those that we personally find repellent,” Hexter said after the cancellation. “As I have stated repeatedly, a university is at its best when it listens to and critically engages opposing views, especially ones that many of us find upsetting or even offensive.”

Martin Shkreli suspended from Twitter for harassing journalist

Yiannopoulos has been on a college speaking tour and has drawn similar reaction at other universities, and a lucrative book deal he recently signed has caused a similar outcry.

Shkreli stepped down as the head of Turing Pharmaceuticals last year after he was charged with securities fraud. He was heavily criticized in 2015 for raising the price of a lifesaving malaria medication and was recently suspended from Twitter for harassing a journalist.