The lockdown at the San Diego School of Creative and Performing Arts has been lifted, according to San Diego police.
Law-enforcement said shortly before 5:30 p.m. that students had been dismissed and were being picked up by parents.
The incident began some two hours earlier when police received reports of a man walking back and forth on a balcony facing the school with what appeared to be some type of airsoft or BB gun.
Parents were out near the school entrance in the 2425 block of Dusk Drive in Bay Terraces, hoping to pick up their kids as the last bell at the school rang at 3:25 p.m.
Get San Diego local news, weather forecasts, sports and lifestyle stories to your inbox. Sign up for NBC San Diego newsletters.
The man whom police were concerned about was in a home in the 2100 block of Alta View Drive, which faces the rear of the campus.
Nobody was injured in this incident, police said. Officers from both the San Diego and San Diego Unified School District police departments turned out in force for the incident, with nearly a dozen patrol cars visible around the campus.
After the lockdown was lifted, police said that they were unable to locate any firearms in connection with the incident but that they were continuing to investigate.
The School of Creative and Performing Arts is a public magnet school for children interested in studing the arts, with students in grades 6-12.