A Battery Creek High School student was taken to the Department of Juvenile Justice in Columbia on Tuesday after being accused of tackling a school resource officer.
Two other students were also accused of helping the student in the attack.
The boy had been suspended from school that morning, but he returned to campus, according to a Beaufort County Sheriff's Office news release.
The school's resource officer found him in the cafeteria and told him to leave. The student refused and tackled the officer, according to the release.
Another student grabbed the officer's arm to try to prevent him from using pepper spray as the officer wrestled with the suspended student on the floor, the release said.
The officer eventually freed his arm and sprayed both students. The officer was later treated for minor injuries.
The interfering student fled the cafeteria. The 17-year-old student was later charged as an adult with two counts of misdemeanor assault and battery third-degree and disturbing schools, a news release said.
The suspended student, who is a juvenile, faces petitions in Family Court for trespassing, assault and battery, and disturbing schools.
Another juvenile student who also assisted in the assault on the officer was petitioned to Family Court on charges of assault and battery third-degree and disturbing schools.