Joel Luna-Bernal, 16, Jay Anthony Contreras, 17, and Luis Daniel Garay, 16, all of Raleigh, were each arrested and charged with second-degree trespassing and received a $50,000 secured bond.
The other four people involved, who were between 14 and 15 years old, were charged as juveniles and were released into the custody of their parents.
Deputies with the Johnston County Sheriff's Office said of the five males and two females, none of them were students at the school.
Just talked to our principal at West Johnston HS and our Sheriff Steve Bizzell...all is safe at West Johnston!— Ross Renfrow (@RossRenfrow) March 9, 2018
According to sheriff Steve Bizzell, the group, who he believes are teenagers from Wake County, appeared on the campus in two vehicles to pick up a friend.
Bizzell said that the teens decided to enter the building in an attempt to check the student out after they did not leave the building in a "timely manner."
The teens were "detained" by school administrators; three ran out of the front door and the other four were taken into custody by a school resource officer.
WATCH: Full live interview with sheriff Steve Bizzell
Around 12 p.m., authorities said the school was secure after being on brief "perimeter lockdown."
Students were released from school shortly before 12:30 p.m.
Deputies said no weapons were found on scene.
Bizzell thanked all of those who responded to the situation, including Governor Roy Cooper who offered the assistance of state resources.