TALLAHASSEE, Fla. — Citing past clashes and protests, Florida Gov. Rick Scott on Monday declared a state of emergency in advance of a speech white nationalist Richard Spencer is scheduled to give at the University of Florida.

Florida Gov. Rick Scott talks to the media outside the West Wing of the White House in Washington, Friday, Sept. 29, 2017, after having lunch with President Donald Trump Vice President Mike Pence. (AP Photo/Carolyn Kaster)

The state’s Republican governor warned in an executive order Monday that a “threat of a potential emergency is imminent” in Alachua County, in north Florida. Spencer is slated to speak at the campus on Thursday and his pending appearance has already sparked protests in the university town.

Spencer participated in a white nationalist rally in Charlottesville, Virginia, that led to deadly violence in August.

Scott’s executive order will allow local law-enforcement authorities to partner with state and other law-enforcement agencies to provide security for the event. The university has already said it expects to spend $500,000 on security.

The governor is also activating the Florida National Guard to help with security if it is needed. Scott said he declared the emergency after discussing Spencer’s speech with Alachua County Sheriff Sadie Darnell.

“We live in a country where everyone has the right to voice their opinion, however, we have zero tolerance for violence and public safety is always our number one priority,” Scott said in a statement. “This executive order is an additional step to ensure that the University of Florida and the entire community is prepared so everyone can stay safe.”

Citing the violence in Charlottesville, the university rejected a request from Spencer and his National Policy Institute, a white nationalist think tank, to allow him to speak in September. After they threatened to sue, school officials said they would try to accommodate Spencer if he renewed his request for a different date.

University of Florida President Kent Fuchs earlier this month asked students to stay away from the campus event. He wrote in an email that Spencer and his group seek only “to provoke a reaction.”

Darnell said Scott’s executive order was not intended to “alarm anyone,” but to make sure that her office has the “resources and equipment to help us prepare for violence or widespread property damage.” Darnell said currently they are expecting both protesters and counterprotesters to show up in connection to Spencer’s appearance.

“We are hoping this is a nonevent,” Darnell said. “We are hoping this will go very smoothly and peacefully. But in the reality of this world we have to be well prepared.”