ATLANTA (CBS Local) — A teacher who was trying to prevent two high school students from fighting landed in the hospital Monday, school officials in Atlanta said.

The fight at Frederick Douglass High School in northwest Atlanta was captured on video by a fellow student and shared on Instagram, according to WSB. It shows a student pummel the teacher, who is on the ground trying to block his head.

READ MORE: Science of Weather: Sea Life Michigan Turtles

School police said the teacher was trying to prevent the ninth grade student from starting a fight with another student, when the student began to punch the teacher repeatedly in the head.

Members of the staff were able to separate the student from the teacher and stop the assault.

READ MORE: Motown Museum Set To Reopen This Weekend With Expansion Project Near Completion

The teacher was treated for minor injuries at a nearby hospital. He recovering following his release.

The student was arrested and charged with assault.

Both students involved in the initial altercation will face discipline in line with the Atlanta Public Schools code of student conduct.

MORE NEWS: Senate GOP Facing Criticism Following Insulin Cap Vote

“Safety and security of students and staff is a top priority in APS,” Atlanta Public Schools said in a statement.