The teacher was sent to the hospital.

ATLANTA — Video shows the moment a fight broke out at Fredrick Douglass High School Monday, which resulted in a teacher being hurt.

The student now faces assault charges after allegedly attacking the teacher, who officials said was trying to break up a fight.

According to Atlanta Public Schools, the Douglass High School student went to the teacher's classroom to confront another student and began fighting. The teacher jumped in to try and break up the fight, but that's when APS said the student turned on the teacher.

The video obtained by 11Alive shows a portion of the fight.

An APS police officer arrested the student and tried to place him with the Fulton County Juvenile Detention Center. However, APS said the detention center refused to take custody of the student; he was ultimately turned over to his parent.

The student still faces charges of assault. Both he and the student he fought will be disciplined in "accordance with the APS code of student conduct," the district said.

The teacher, meanwhile, was taken to Grady Hospital for treatment and was later released, according to the district.

In a statement on the matter, the district said "The safety and security of students and staff is a top priority in APS."

Editor's note: This story has been updated to clarify who appears in the video of the fight.