A University of Maryland student says her professor sent a "racist email" on August 31. The email describes Latino students as "mediocre" and "pretty bad."

The email was accidentally sent to students registering for Professor Mark Graber's mock trial class.

Perspective student Jocelyn Nolasco was one of the students who received the email. She is Latina and the President of the Latinx Student Union. She was shocked by the email and tweeted a screenshot of it.

The tweet stirred controversy online.

Garber sent out an apology after realizing the email was sent to the students, it said, "My profuse apologies again for failing delete a confidential part of the email when forwarding your names to the registrar...I hope each and everyone of you stays with the program. This is a terrific program."

RELATED: UMD president called out on racism complaints

According to a statement from the University of Maryland, Graber is no longer the head mock trial coach.

The university statement said:

"Associate Dean Katherine Russell has contacted all the students who received the email. Dr. Russell invited the students to reach out to her or the Government and Politics Department Chair Irwin Morris to discuss their questions or concerns. A new head mock trial coach will be announced shortly. We are sorry for the coaching transition at the beginning of the semester."

The email showed correspondence between Professor Mark Graber and mock trial assistant coach Abigail Garber. According to the Washington Post, both were asked to resign. They no longer work for the University.