SAN BERNARDINO >> Police investigated a social media threat to shoot-up Rialto High School and arrested a former student at his San Bernardino home.

“The individual who made the online threats regarding Rialto High School has been identified, located and taken into custody by our detectives,” San Bernardino police Lt. Mike Madden said in a written statement. “He is not being named due to being a minor.”

The threat warned that students shouldn’t attend Rialto High School on Friday, saying, “I will enter and shoot people on sight.” The threat continued to say, “Warn friends and tell people who deserve to die to go to school Friday.”

This threat comes nearly six weeks after a deadly shooting at North Park Elementary school in San Bernardino claimed the lives of a student and his teacher and wounded another student.

On April 10, Cedric Anderson, 53, of Riverside, came to the school shortly before 10:30 a.m., walked into his wife’s classroom, pulled out a .357 magnum revolver and started shooting. His wife, Karen Elaine Smith, 53, and student Jonathan Martinez, 8, were killed in a barrage of gunfire. Another student, 9-year-old Nolan Brandy, was wounded but survived the ordeal.

Anderson then turned the gun on himself.

Madden said the Rialto High School student is expected to face criminal threats and obstruction charges. Madden did not reveal if detectives found firearms in the boy’s home.

Rialto High School is expected to continue operating as normal and will not be closed Friday, police spokeswoman Eileen Hards said.