(CNN) -- The director of a Georgia school apologized for calling out "all the black people" who left a graduation ceremony during the valedictorian's speech.

"The devil was in the house and came out of my mouth," Gordeuk told WXIA-TV in an email.

Nancy Gordeuk, director of TNT Academy in Stone Mountain, was recorded making the controversial remark toward the end of Friday's ceremony.