(Fotolia)

A high school teacher in Texas has been fired after a video of him hitting a student with a belt went viral on the internet.

The video was posted on Facebook and showed a student wiping something off the teacher’s head. The teacher responded by taking off his belt and chasing the student all over the classroom and whipping him.

— ‘You see how it was to be a slave?’ White teacher causes outrage for stepping on black children in cruel slavery lesson — 

The violent incident happened on Friday during first period at Cypress Woods High School.

Witnesses said that the teacher started hitting a student when the teen spat on the teacher. The teacher has not been identified and has not yet been charged with a crime.

Cypress-Fairbanks Independent School District put out a statement that read, “We were shocked to learn of the video. The staff member involved was immediately removed from campus and CFISD police are conducting a thorough investigation. These actions are certainly not representative of Cypress Woods or CFISD employee standards of conduct.”

— High school students stage walk-out to protest racist, homophobic Snapchat videos — 

In response to the man hitting a student, parent Sherry Lopez said, “He could have called his parents. There were other measures he could have taken.”

This is not the first time a teacher has been fired for hitting a student with a belt.

In 2015, a Maryland substitute teacher had to be removed from the classroom after a video of him hitting sixth-grade students with a belt while trying to break up a fight.

That video went viral as well causing outrage among the parents as well as the community.

That incident at Gwynn Park Middle School was described as “improper” by school officials. The statement they put out read, “Prince George’s County Public Schools does not condone this type of behavior and it is not representative of the level of professionalism and respectful conduct of the team at the school.”

— White tennis player suspended for telling Black player: ‘At least I know my dad’ —