President Donald Trump threatened to cut federal funding for the University of California, Berkeley after the campus erupted into fiery violence before a planned speech by conservative figure Milo Yiannopoulos Wednesday evening.

If U.C. Berkeley does not allow free speech and practices violence on innocent people with a different point of view – NO FEDERAL FUNDS?

— Donald J. Trump (@realDonaldTrump) February 2, 2017

The president’s tweet comes after a night of violent protests on the campus forced Yiannopoulos to cancel a book tour event that was, ironically, about free speech on campus. (RELATED: Milo Speech Cancelled By Riots, Fire)

Protesters broke windows, set off fireworks, and threw smoke bombs and flares, creating a dangerous environment for students and the public. Masked protesters used a diesel generator to start a large fire outside the building where the conservative author was set to speak.

Berkeley is the flagship institution of the University of California system. The school received $370 million in federal research funding during the 2015-2016 school year.

The University of California system’s president, former Homeland Security Secretary Janet Napolitano, vowed to protect immigrant students that attend the public school system, even if it meant defying Trump’s executive orders. Napolitano served under President Barack Obama.

Follow Ted on Twitter

Send Tips to ted@dailycallernewsfoundation.org.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.