School officials say a Georgia teacher has resigned after a high school student said she recorded him calling her “the dumbest girl I have ever met.”

Greene County School System Superintendent Chris Houston tells The Atlanta Journal-Constitution that teacher Cory Hunter resigned at a school board meeting Monday night. Houston said the teacher apologized for any “disruption” caused by the ordeal.

WSB-TV reports that 16-year-old junior Shaniaya Hunter, who is not related to the teacher, says she was trying to catch up before a test in December and asked the teacher a question.

She says Hunter replied, “I have been around for 37 years and clearly you are the dumbest girl I have ever met.” She says he added that her purpose in life will be to have sex and have babies.

Shaniaya Hunter was recording the lesson on a school-issued iPad.