HASTINGS, Minn. (AP) - A former teacher is charged in Dakota County with stalking a 12-year-old female student.

Prosecutors say 25-year-old Cody Woodrow Hansen sent numerous suggestive messages to the girl on social media from November to January. Hansen was a teacher at an Eagan middle school and has since resigned.

Reports says a criminal complaint charges Hansen with two counts of stalking. Authorities say the girl had screen shots of some of the messages and told investigators she "felt creepy and unsafe" in Hansen's classroom.

Hansen has not yet appeared in court and it was unclear whether he has an attorney.

More From AM 1240 WJON