DUBLIN — The former Fremont high school teacher who admitted to having sex with her student was sentenced Friday to 180 days in county jail, which she can serve from inside her own home.

Corine Audiat was arrested in late 2016 for allegedly having sex with a student who attended Washington High School, where she had been a teacher since 2012. She pleaded no contest to two felony counts in December for unlawful sex with a minor, and oral copulation of a person under 18, according to court records.

But because she qualifies, Audiat will serve her jail time by electronic monitoring, such as ankle monitor, which will track her movements and could also monitor drug and alcohol intake, according to prosecutor Tim Wellman.

In addition, Audiat will have to register as a sex offender, is ordered to stay away from the victim “John Doe” for 10 years and will have to complete 150 hours of community service, Wellman said. She was also forced to surrender her teacher’s credential, meaning she can no longer teach children.

Any unsupervised interaction with minors under the age of 18 will also not be allowed. She must also undergo a year of sex offender counseling for her crimes.

John Doe and his parents were present Friday morning for her sentencing but did not give any victim impact statements before the court.

Fremont police said they began investigating Audiat on Nov. 23, 2016, after receiving a tip that she had been involved with a male student, and was soon arrested.

In May 2016, Audiat, then 32, texted a 16-year-old boy that she wanted to pull him into the gym equipment room and kiss him, according to a civil lawsuit filed by the boy’s parents. The relationship turned sexual the next month, the lawsuit states.

Related Articles Sponsored: Exploring the benefits of buying a smaller home The lawsuit accused Audiat of “grooming” her students or enticing them with months of flirtation, texting and open displays of affection, such as hugging.

Audiat had taught in the Fremont Unified School District since 2008. In addition to teaching physical education at Washington, Audiat was a swim coach at Mission San Jose High School in Fremont and East Bay Swim League team in Fremont called the Glenmoor Stingrays.