(NYDN) A Connecticut high school teacher was charged with second-degree sexual assault after admitting to police she had an illicit relationship with a student in the special education program.

Laura Ramos surrendered to police Tuesday morning after she learned there was a warrant out for her arrest, the CT Post reported.

The 31-year-old Central High School teacher initially denied having a relationship with the 18-year-old student when questioned by detectives on June 12.

Ramos, however, eventually confessed to having sex with the teen a “handful of times” between December 2016 through April. She told police they mostly had sex in her car, according to the newspaper.

Officers were called to the Bridgeport school at the beginning of June in response to a sexual assault complaint.

Principal Eric Graf told officers a student reported the inappropriate relationship to one of his teachers.

The unidentified student told officers he’d been texting Ramos for a while and that she’d often share some of her personal problems. He said he once complained “her guy” no longer wanted to have sex with her anymore.

The witness added he often saw Ramos and the victim “making eyes at each other, like flirting,” and suspected the student was the “guy” she’d been referring to.

Ramos, who is married and the mother of a young child, was placed on administrative leave June 9 and resigned amid her termination proceedings, NBC Connecticut reported.

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