Cumberland County sheriff's deputies arrested 17-year-old Antionwan Haskins Saturday.
Investigators say Haskins went into the school around 11 a.m. and began firing shots into a wall near the principal's office.
Cumberland County schools spokeswoman Patricia Hollingsworth says E.E. Smith High School was in session on Saturday for a snow make-up day and the incident forced the classrooms locked down. No one was hurt.
Shortly after, surveillance cameras captured the shooter aiming the gun at the principal's car. Deputies say a shot damaged the front windshield
Haskins is now charged with possession of a weapon on school grounds, disorderly conduct, disrupting students and injury to personal property.