Mother-of-two elementary school teacher, 32, is charged with performing sex acts on boy under the age of 14

An elementary school teacher and mother-of-two has been charged with performing sex acts on a boy under the age of 14.

Malia Brooks, 32, surrendered at Simi Valley police station in California on Tuesday after it was alleged that she had been having sexual relations with a male student at her school.

The divorced mother of a young boy and girl is being held on $2million bail after prosecutors dubbed her a flight risk. She pleaded not guilty when she was arraigned on Wednesday at Ventura County Superior Court.

Scroll down for video

Behind bars: Former elementary school teacher Malia Brooks, 32, has been charged with performing sex acts on a student aged under 14 at her California school

Lock down: Brooks, 32, pleaded not guilty as she was arraigned on Wednesday at Ventura County Superior Court

The 32-year-old has been charged with one count of a lewd act upon a child, one count of oral copulation of a person under 14 and three counts of genital penetration by a foreign object with a person under 14 years of age when the suspect is more than 10 years older than the victim.

Her attorney said outside court that she was suffering from a mental illness and was now receiving treatment, according to NBC.

Brooks had taught the 6th grade at Garden Grove Elementary School since 2004, authorities said during a press conference on Wednesday.