Horrifying photos have emerged of a naked high school teacher in Guangxi province trying to rape a female student on campus.

The incident occurred around noon time on March 28 at Taiping High School in Lingshan County, the People's Daily Online reports.

Teachers immediately intervened and managed to free the student from the 30-year-old male teacher, surnamed Huo. The victim reportedly suffered no injuries.

Shocking: Photos have emerged of a naked man trying to rape a student at a high school in Guangxi, China

Awful: Photos show the employee at the school hugging the student while other students look on in horror

The photos show the naked man grabbing hold of the girl from behind and pushing her against a wall in broad daylight.

The Publicity Department of Lingshan County released a statement today confirming the incident.

It said Huo has a suspected mental illness and works in the laboratories of the school.

The statement said the teacher had received treatment in 2011 for psycotic episodes, however after two years he was declared fit to return to work.

The school chose to base Huo in the laboratory and said he would not be allowed to teach classes. For the past five years he has performed well in his role.

After the incident, faculty immediately called the police and informed the man's family who took him to the hospital for treatment.

According to the official statement, the female student was not harmed in the ordeal.

The city's Public Security Bureau are investigating the incident.