A teacher who brought plastic replica rifles to his class prompted a lockdown of two San Diego schools when a staff member thought he was a gunman.

Police spokeswoman Monica Munoz says officers responded to a report Friday from Marston Middle School that a man had two rifles on campus.

About 125 students and staff members were kept in classrooms as police locked down and searched the campus for two hours. Nearby Clairemont High School and a recreation center were also placed on lockdown.

School district spokesman Jack Brandais says officers ended the lockdown after a history teacher was found in a classroom with plastic rifles he brought for a Revolutionary War lesson.

Brandais says he was not arrested but placed on leave while the district investigates.