A middle school teacher in Mexico has been fired after screening the film “Milk”, which tells the story of legendary US gay rights campaigner Harvey Milk.

Cecilia Hernandez showed the first half-hour of the film to her 7th and 8th graders in the city of Cuajimalpa as part of an approved lesson plan addressing sexual orientation and discrimination.

The newspaper Proceso said the day after she showed the movie, Ms Hernandez was called into the principal’s office and fired.

In an e-mail, the principal called the Oscar-winning film “filth.”

The 2008 film, directed by Gus Van Sant stars Sean Penn as the late US gay rights campaigner Harvey Milk.

Elected as California’s first openly gay official, Milk was assassinated in 1978.

Meanwhile, Ms Henandez says she does not want her job back and has filed a complaint with the national discrimination board.