The incident took place at Harlem Park Elementary/Middle School.
In a statement provided to BuzzFeed News, Baltimore City Public Schools said, "Yesterday a middle school science teacher at Harlem Park Elementary/Middle School engaged in verbally abusive behavior and made racially charged comments directed at students. The teacher involved in the incident is no longer employed by City Schools."
The board did not identify the teacher.
The video, first posted on Facebook by Erica Esha Deminds, the mother of a student at the school, got over a million views and was widely shared on social media on Thursday.