A married high school teacher in Connecticut is out of a job after admitting having sex with an 18-year-old special education student several times, mostly in her car, police said.

Laura Ramos, a 31-year-old special education teacher at Central High School, surrendered to police on Tuesday after learning there was a warrant for her arrest. The married mother of a young child was later charged with second-degree sexual assault after investigators said she confessed to having sex with the male student several times, the Connecticut Post reports.

Ramos, of Milford, was placed on administrative leave on June 9 pending further investigation. Police said officers were called to the school in Bridgeport on the same day in response to a sexual assault complaint.

Responding officers were told by principal Eric Graf that another teacher reported that one of his students said Ramos was having sex with a student in the special education program. The student told police that Ramos had been texting him for some time, sharing her personal issues while complaining that “her guy” wanted to end the relationship and the illicit trysts.

The student said he often saw Ramos and a male student “making eyes at each other, like flirting,” according to police.

Ramos met with a detective to discuss the allegations on June 12 and she initially denied having a sexual relationship with the student, but said they had a close relationship.

But Ramos admitting having a sexual relationship with the victim from December 2016 through April, having sex mostly in her car, police said.

Ramos, who was released after posting $50,000 bail, is scheduled to appear in Superior Court in Bridgeport on June 28.

“She is cloaked in the presumption of innocence, and we look forward to obtaining all the investigative reports so that we can offer the appropriate defense,” her attorney, Edward Gavin, told the Connecticut Post.