RIALTO – A student’s prank phone call led administrators at Rialto Middle School to lock down the campus on Monday and search for a man with a gun.

The only problem, police said, there was no man with a gun.

Students, teachers and visiting parents were locked down whereever they were on the campus when a Rialto Middle School student made at least one 9-1-1 phone call, said Syeda Jafri, spokeswoman for the Rialto Unified School District.

Students who heard the student who made the call talk about it told authorities at the school, prompting the lockdown.

Jafri said she was not aware of what was said during the 9-1-1 call.

But police received a call shortly before 9 a.m. about someone armed with a gun threatening a principal.

“They placed the school on lockdown and police began searching for someone with a gun,” said Officer David Shepherd.

Police said they later learned that an 11-year-old student made the 9-1-1 call as a prank. Officers spoke with the student and found out he did not have a gun and there was no immediate danger.

The lockdown ended just before 10:30 a.m.

“We have a safe campus,” said Principal Arnie Ayala. “Everything is under control.”

The school’s staff later had an emergency meeting to discuss what happened.

Police, who are still investigating the prank call, and they will speak with the student’s parents, Shepherd said.

The school district’s policy is to play things safe, Jafri said.

“The standard procedure is that we do a lockdown, even if we hear an allegation of something that could possibly be directed at our students or staff,” she said.