A Nashville area high school teacher has resigned after being confronted by her students about insulting tweets she posted about them.

WSMV-TV reports that Lyn Rushton quit Thursday after the confrontation. She taught at Metro Schools' East Nashville Magnet High School.

According to a news release, Rushton created the anonymous Twitter account where she posted multiple tweets insulting her students, including their dress and behavior.

Rushton resigned before Metro Schools could investigate.

The school district released the following statement:

As part of the Tennessee Code of Ethics, teachers accept the responsibility to adhere to the highest ethical standards as part of what they do in schools every day – to serve students and the communities they live in.

Metro Schools is aware of certain social media posts of a former teacher at East Nashville Magnet High School. The posts do not reflect our values and are unacceptable.

The teacher has resigned and is no longer an employee of Metro Schools.