A Texas college professor was so fed up with his unruly class that he took the dramatic action of failing all of them.

Irwin Horwitz wrote in an email to his management class at Texas A&M-Galveston that he had reached his "breaking point," calling out the class for cheating and inappropriate conduct.

At one point, Horwitz felt the need to have security guards with him while he taught the class, accusing students of posting untrue rumors about his wife online and making threats.

Horwitz said in his 20 years of teaching, he had never experienced anything like this particular group of about 30 students.

Horwitz wrote

Since teaching this course, I have caught and seen cheating, been told to ‘chill out,’ ‘get out of my space,’ ‘go back and teach,’ [been] called a ‘f****** moron’ to my face, [had] one student cheat by signing in for another, one student not showing up but claiming they did, listened to many hurtful and untrue rumors about myself and others, been caught between fights between students.

None of you, in my opinion, given the behavior in this class, deserve to pass, or graduate to become an Aggie, as you do not in any way embody the honor that the university holds graduates should have within their personal character.

It is thus for these reasons why I am officially walking away from this course. I am frankly and completely disgusted.

You all lack the honor and maturity to live up to the standards that Texas A&M holds, and the competence and/or desire to do the quality work necessary to pass the course just on a grade level. I will no longer be teaching the course, and all are being awarded a failing grade.

The university, however, said the across-the-board failing grades would not be upheld, promising to investigate the inappropriate behavior Horwitz wrote about.

Horwitz said he had rarely ever given a failing grade during the course of his long teaching career.

Here's Why a Father of 8 Says He Won't Pay for College

VIDEO: These College Students Have No Clue Who Ronald Reagan Is

College Dorm's Bulletin Board Shames Christian, White 'Privileged' Students

College Apologizes for ... Serving Mexican Food During Sci-Fi Event?!