BERKELEY, Calif. (AP) — The Latest on a speech by a conservative commentator at the University of California, Berkeley (all times local):

10:10 p.m.

University of California, Berkeley police say there have been four to five arrests related to protests in Berkeley, all on city property.

Hundreds protested outside a speech by former Breitbart editor Ben Shapiro, but the demonstrations were mostly peaceful.

University spokesman Dan Mogulof called Thursday's Shapiro speech "a successful event" and says the university is committed to hosting speakers like Shapiro in the future.

Hundreds of protesters remain on city streets, though the event has wrapped up.

A least three were arrested for carrying a banned weapon.

Berkeley police say 29-year-old Michael Paul Sullivan of Hayward was arrested, along with 44-year-old Sarah Roark and 20-year-old Hannah Benjamin. Benjamin is also accused of battery on a police officer.

___

8:40 p.m.

A few hundred people are protesting outside a hall where conservative commentator Ben Shapiro is speaking at the University of California, Berkeley.

The demonstrators are peaceful, with some chanting against fascism, white supremacists and President Donald Trump.

Others were holed up Thursday inside a student building. Earlier, they waved signs from a pedestrian walkway protesting the university's decision to allow the event featuring the former editor at Breitbart News.

Inside the hall, Shapiro addressed a friendly crowd. He encouraged people to hold civil discussions with people who have different opinions, saying that's what America is all about.

He condemned white supremacists as "a very small select group of absolutely terrible people who believe absolutely terrible things."

The campus and surrounding Berkeley streets are under tight security after a series of previous events turned violent.

___

This item has been corrected to remove a reference to the students inside the building holding signs.

___

8 p.m.

Berkeley police say they have arrested two people during protests over a speech by a conservative commentator at the University of California, Berkeley.

City police say 20-year-old Hannah Benjamin was arrested Thursday for battery on a police officer and carrying a banned weapon. Meanwhile, 44-year-old Sarah Roark was taken into custody for carrying a banned weapon.

The arrests were announced on the police Twitter account.

There was a heavy police presence in Berkeley as former Breitbart News editor Ben Shapiro was speaking.

Campus Republicans invited him to come as part of his tour called "Campus Thuggery."

Dozens of demonstrators were outside the hall where he was speaking, but police kept the two sides apart.

___

6:30 p.m.

Dozens of people have lined up to hear a speech at the University of California, Berkeley that has prompted massive security as officials fear violent demonstrations.

Police with riot gear have surrounded the plaza in front of Zellerbach Hall, where the former Breitbart editor Ben Shapiro is set to speak later Thursday.

Eighteen-year-old high school senior Nick Handley says he tried to get others to come to Berkeley with him from Modesto, about 90 miles (145 kilometers) east of San Francisco.

But he says they were scared about the potential violence outside the speech by Shapiro dubbed Campus Thuggery.

Handley says the heavy police presence is sad, particularly since taxpayer money is being spent.

UC Berkeley spokesman Dan Mogulof says the security could cost $600,000.

___

4:15 p.m.

Protesters opposed to a scheduled speech by a conservative commentator at the University of California, Berkeley say they're disappointed they're being kept out of the school's main plaza because of heightened security.

Raphael Kadaris is an organizer with Refuse Fascism, which had planned to protest at the university's Sproul Plaza ahead of the appearance by former Breitbart News editor Ben Shapiro.

UC Berkeley Police Chief Margot Bennett says protesters can demonstrate on nearby streets, about a block away. Campus police closed the plaza Thursday afternoon and stopped allowing people to enter.

Kadaris says his group wants to criticize white supremacy, misogyny, xenophobia and fascism. He says "the police and the chancellor and the university better not attack us."

The speech by Shapiro is set for Thursday night. He was invited by campus Republicans.

___

1 p.m.

Several streets around the University of California, Berkeley, have been closed off with concrete and plastic barriers ahead of a campus appearance by former Breitbart News editor Ben Shapiro.

School officials say they have sealed off Sproul Plaza — the central hub of the campus — and created a perimeter around several buildings. They say they are ensuring the safety of students and those attending Shapiro's sold-out appearance Thursday evening.

UC Berkeley spokesman Dan Mogulof says the school is committed to hosting a safe and successful event.

Police Chief Margo Bennett says there will be several checkpoints outside the 1,000-seat auditorium, and officers will confiscate banned items, including shields, masks, bandanas, poles and torches.

The city and campus have become a flashpoint this year for the country's political divisions, drawing extremist groups from the left and right.

___

8 a.m.

The University of California, Berkeley is ramping up security as it braces to host conservative commentator Ben Shapiro Thursday night.

Authorities plan to seal off the campus' central hub, Sproul Plaza, with a "closed perimeter" around several buildings including where Shapiro is set to speak to a crowd of 1,000.

The university says there will be "an increased and highly visible police presence" and police will quickly arrest protesters wielding weapons or wearing masks.

The city and campus at UC Berkeley have become a flashpoint for the country's political divisions, drawing extremist groups from the left- and right-wing.

Four political demonstrations have turned violent in Berkeley since February, prompting officers to come up with new strategies to control rowdy and sometimes dangerous crowds.

Campus Republicans invited Shapiro to speak.