COLUMBIA, S.C. – An anonymous student who says he took the third video in an altercation between a school resource officer and a texting student at South Carolina’s Spring Valley High School is siding with the sheriff’s deputy.

“In the video it was very shocking to see how that was happening, but I honestly think that it was a two way thing and the officer was wrong, but also the girl was wrong,” the student tells WLTX.

MORE NEWS: Know These Before Moving From Cyprus To The UK

“I was in the front of the room sitting right there when it happened, so that’s what I saw,” he says. “I’m shocked that something like this happened with students disrespecting elders and law enforcement. They are a higher power, the least you could do is respect them and follow orders.”

He believes the whole thing could have been prevented if the student had honored requests by the teacher, assistant principal and Senior Deputy Ben Fields to cease texting during class.

He says even students told her to leave the classroom and she refused.

“She was even told by the students to leave when the administrator came in. We tried to put our input in just to help her.”

The boy says he posted his video (below) of the incident because the media and online commenters were ganging up on the officer and ignoring the student’s role in the incident.

MORE NEWS: How to prepare for face-to-face classes

“Everybody was commenting on something and they weren’t there,” he says. “They don’t know the full story. I wanted to at least take some of the pressure off of him.”

The student’s defense of the officer comes on the heels of the sheriff defending him, as well.

“The student was wrong in what she did — she disrupted class, she was disturbing the others students from getting an education. But does her actions meet the level of what this officer did?” Sheriff Leon Lott tells NBC News. “That’s what we’re going to decide.”

The student who posted the third video says, “If we do have a resource officer who feels that way then you really aren’t going to feel protected in your school.

“Fields was really trying to do his job.”