SOUTH WHITEHALL TWP., Pa. -

An armed man who was nabbed inside Parkland High School in South Whitehall Twp., Lehigh Co., was planning to attack a student, police said Thursday.

Nicholas Ibarra was apprehended inside the school Wednesday morning, said police, who searched Ibarra and found two folding knives.

Police said they later determined that Ibarra went to the school to attack a student.

Ibarra was charged with terroristic threats, possession of a weapon on school property and criminal trespass.