(CNN) An African American security guard told a student to stop calling him the n-word. It cost him his job.

Marlon Anderson was a security guard at Madison West High School in Wisconsin. Last Wednesday, he was called in to help the assistant principal escort a student from school grounds, he told CNN.

The student was resisting, including yelling and pushing the principal. Anderson called for backup, and the student started yelling expletives at him, including the racial slur, Anderson said.

At first, Anderson said he asked the student to stop calling him that, without saying the word. But the student continued to call him different variations of the word.

Finally, Anderson said he responded: "Don't call me (n-word)."

Read More