A high school teacher in east Texas was arrested Friday after video allegedly showed her slapping a student.

The Jefferson County Sheriff's Office confirmed that Mary Hastings, a teacher at Ozen High School near Beaumont, was arrested Friday on an assault charge.

According to a statement from Beaumont ISD obtained by WFAA content partner KBMT, the conduct was substantiated by video viewed by BISD police and administrators.

A video posted to Twitter Friday allegedly shows Hastings slapping a student repeatedly in the back of the head and then mocking him. She calls the student an "idiot ass" in the video.

Hastings was immediately removed from the classroom and placed on administrative leave pending action on her contract, according to the statement from the district.

The statement also said the district is committed to providing a safe and secure environment for students and that BISD does not condone employees abusing any child and will not tolerate such conduct.

Beaumont ISD is aware of and in the process of evaluating the situation according to Special Assistant to the Superintendent Nakisha Myles Burns.