OAKLAND (CBS SF) — Authorities at Fremont High School in Oakland briefly put the school on lockdown Wednesday morning after a student was found to have a handgun, according to a district spokesperson.

Oakland Unified School District Director of Communications John Sasaki said that a student at Fremont High was brought into the school’s main office Wednesday morning at about 9:15 p.m. to discuss an unrelated issue with school police.

READ MORE: Authorities: Suspect In Walnut Creek Nordstrom Smash-And-Grab Out On Bail; 2nd Suspect Appears In Court

“During that conversation the behavior that student displayed, seemed to be a bit suspicious, so they asked the student if they had any weapons on them,” said Sasaki. “And it turns out that student had a loaded weapon in their waistband.”

School police officers secured the gun and placed the student under arrest, Sasaki said.

It was unclear where or why the student got the handgun or exactly who owns the firearm. Sources tell KPIX 5 the student was not a troublemaker.

READ MORE: Housing Shortage: Inventory Of Single-Family Homes In Santa Clara County Reach Record Low, Realtors Say

“At this point, there’s no indication that this was anything related to a threat on an individual, or a group of people or the campus as a whole,” said Sasaki. “We also unfortunately have not come to any understanding why the student had the weapon.”

A dozen heavily armed SWAT team members from Oakland police responded, and school was on lockdown for about 30 minutes.

“I thought something bad was going to happen, but nothing happened so I was, like, safe,” said Fremont High freshman Evelyn Diaz, who admitted she was scared.

MORE NEWS: Theranos Trial: Tears Flow As Elizabeth Holmes Talks Of Fractured Love Affair With Sunny Balwani

All students and staff were safe after the incident.