A male student was arrested after he allegedly brought a gun to La Habra High School, on Tuesday morning, Oct. 15, which led to a 30-minute lockdown.

At around 9:30 a.m., someone at the high school called authorities after seeing the student with a gun, La Habra Police Department Lt. Daniel Barnes said.

“As soon as they heard the call, the school went on lockdown,” he said. “The school resource officer was present and responded to the area in question. The student was detained and the investigation is ongoing.”

Once it was determined there was no longer a threat to the campus, the lockdown was lifted, Barnes said. There was no perceived threat to the campus as a whole, he added.

The age of the student who was detained and the type of gun he had was not available.

It also wasn’t known who at the school alerted authorities.